Replies: 1 comment
-
Take a look at the documentation on Custom ID Internals. In short, you likely want to explicitly pass a string to the "custom_id" parameter: @discord.custom_handler(custom_id="your_custom_interaction_id_goes_here")
def handle_click(ctx):
# handler goes here
return Message(...) The actual string itself does not matter, but strings should be unique (two buttons should not have the same custom ID string). Let me know if this solves your issue! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im making an button role system, so after a restart buttons are showing interaction failed so is there a way to make it persistent!
Beta Was this translation helpful? Give feedback.
All reactions