You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the correct way to use __call__ when dealing with modals? I'm using a slash command with __call__, and sometimes it returns a modal. I can handle the modals using on_modal, but even after submitting the modal, __call__ continues to wait for a response, which basically breaks the code. (I'm a beginner in Python)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the correct way to use
__call__when dealing with modals? I'm using a slash command with__call__, and sometimes it returns a modal. I can handle the modals usingon_modal, but even after submitting the modal,__call__continues to wait for a response, which basically breaks the code. (I'm a beginner in Python)Beta Was this translation helpful? Give feedback.
All reactions