collector.stop() throw's an error
hi,
so i'm not really sure what's wrong here cuz everytime i press the stop button it just throws this error
this is my actions array
the rest of it goes like this
6 Replies
Have you per chance updated discordjs with the latest update? Might be that's why
oh
i just updated the packages now and it still gives me the error
except now it doesn't even stop the collector
previously it stopped the collector but the bot would crash with this error
what is the reason you have the custom stop action btw? it's one of the default actions.
https://favna.s-ul.eu/scrns/2beBhGqf.PNG
those are the default actions (everything except for the link buttons)
also are you sure that idle is correct? That's only 15 seconds. That's very short. The default idle is 14.5 which is just below the maximum interaction time to reply to discord (of 15 minutes)
If all you want is to add a label to the default stop button I would recommend you instead do
basically picking the stop action, modifying it, then setting it back.
aaanyyaay I dont know why you get this problem exactly. I dont get it with @Dragonite. The code is open source so you can view all versions of dependencies and code here: https://github.com/favware/dragonite
GitHub
GitHub - favware/dragonite: A Pokémon information Discord bot buil...
A Pokémon information Discord bot built around Discord Interactions - favware/dragonite