How to listen to button interactions for any message
Creating and receiving button interactions are really simple - but the problem is once I restart the bot it does not listen to the buttons in old messages anymore. That's a problem when it comes to a "Button role system".
Now how do I receive button interactions from the old messages?
Current code:
9 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
you could create a database to store the diferan't data (could be just json), or you could store the state (ie role to add) in the message id.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
but it doesn't -
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
okay
it does not log anything
looks like it did not emit the event
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View