Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
May your rolls be chill this holiday season!
Create a free account

Token button associated with deleted macro still appears

All in title I have deleted a macro that was associated to token action bar Now it is still visible :( When i try to search macro through API, the macro with that name does not exist anymore The macro is not shown in the list of macro So it is impossible to delete it from the player action view :(
1677077916
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
HI JPL! Have you checked both the collections tab, and the Abilities tab of the character sheet? If you shift click on the button, it should open up in edit mode. If on a sheet as an ability, just delete it. If in a Collections tab, you must be the creator of the macro in order to edit it. Finally, do you have a script that might be re-creating the macro?
Yes it was on ability thx !! i've been able to remove it :) so there are objects not accessible through api !! I have a backup script that reads all objects. Never need to reinject/recreate lost object
1677113917
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Actually, you can search for Abilities through the API. They are their own type of Object , with a property that associates them with a character ID.