Replies: 3 comments
-
For sending slash commands refer to documentation args = {'arg1': 'salmon'}
async for command in message.channel.slash_commands():
if command.name == 'fish':
await command(channel=message.channel, **args) @dolfies i think there should be examples about using slash commands might be a good first PR? |
Beta Was this translation helpful? Give feedback.
0 replies
-
lov u |
Beta Was this translation helpful? Give feedback.
0 replies
-
lov u 2 |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
async for cmd in message.channel.slash_commands(command_ids = [1015311084812501026]):
if cmd.name == 'fish':
await cmd(param=value)
but it didn't work
Beta Was this translation helpful? Give feedback.
All reactions