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
I inserted the code from the examples into the project
Minimal Reproducible Code
https://github.com/EQUENOS/disnake/blob/master/examples/slash_commands/param.py# Commands may be limited only to guilds with a special interaction annotation@bot.slash_command()asyncdefguild_command(
inter: disnake.GuildCommandInteraction
) ->None:
...
Expected Results
That the code will work
Actual Results
The code doesn't work
Intents
None
System Information
$ pip show disnake
Name: disnake
Version: 2.1.2
Summary: A Python wrapper for the Discord API
Home-page: https://github.com/EQUENOS/disnake
Author: Rapptz, EQUENOS
Author-email:
License: MIT
Location: /home/lev145/PycharmProjects/MusicBot/venv/lib/python3.9/site-packages
Requires: aiohttp
Required-by: discord-disnake
Checklist
I have searched the open issues for duplicates.
I have shown the entire traceback, if possible.
I have removed my token from display, if visible.
Additional Context
I love cats
The text was updated successfully, but these errors were encountered:
The ... is a placeholder for the command body. These examples are mostly to provide an example on how to setup slash commands, but I understand where the confusion comes from.
@EQUENOS Do you see any value in making the examples command value such that they will run? Even if it's just a dummy response.
Summary
Code from examples dont work
Reproduction Steps
I inserted the code from the examples into the project
Minimal Reproducible Code
Expected Results
That the code will work
Actual Results
The code doesn't work
Intents
None
System Information
$ pip show disnake
Name: disnake
Version: 2.1.2
Summary: A Python wrapper for the Discord API
Home-page: https://github.com/EQUENOS/disnake
Author: Rapptz, EQUENOS
Author-email:
License: MIT
Location: /home/lev145/PycharmProjects/MusicBot/venv/lib/python3.9/site-packages
Requires: aiohttp
Required-by: discord-disnake
Checklist
Additional Context
I love cats
The text was updated successfully, but these errors were encountered: