Send slash command with options #463
Unanswered
vined-underscore
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I try sending a slash command that has no options like
/bump
, it works fine, but I have no idea how to send commands with options like/say text:
.This is what I've tried:
I looked in the source code and saw I needed to pass in the
data
argument but when I try running that command I get this error:discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body In data.options: Missing interaction application command option
Beta Was this translation helpful? Give feedback.
All reactions