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
How can I make the bot return an error message?
For example, information such as syntax errors or illegal parameters. The interfaces currently used do not return information, which will lead to confusion about what happened.
The text was updated successfully, but these errors were encountered:
An error message on your screenshot is an embed. And it seems it is a response to a slash command invocation.
You can achieve a similar behavior by utilizing s.InteractionRespond and setting Data.Embeds field.
How can I make the bot return an error message?
For example, information such as syntax errors or illegal parameters. The interfaces currently used do not return information, which will lead to confusion about what happened.
The text was updated successfully, but these errors were encountered: