-
-
Notifications
You must be signed in to change notification settings - Fork 482
Closed
Description
Summary
This issue is about a warning that happens when trying to use slash commands using the @bot.slash_command() decorator.
Reproduction Steps
Trying to use any kind of slash command. This issue also happens with the code example from the readme of the github page.
Minimal Reproducible Code
@bot.slash_command()
async def hello(ctx, name: str = None):
name = name or ctx.author.name
await ctx.send(f"Hello {name}!")
### Expected Results
No warnings given for the slash command decorator.
### Actual Results

### Intents
intents = discord.Intents.all()
### System Information
- Python v3.9.1-final
- pycord v2.0.0-alpha
- pycord pkg_resources: v2.0.0a3785+g16dcf2c6
- aiohttp v3.7.4.post0
- system info: Windows 10 10.0.19041
### Checklist
- [X] I have searched the open issues for duplicates.
- [X] I have shown the entire traceback, if possible.
- [X] I have removed my token from display, if visible.
### Additional Context
_No response_
Metadata
Metadata
Assignees
Labels
No labels