-
-
Notifications
You must be signed in to change notification settings - Fork 482
Closed
Labels
unconfirmed bugA bug report that needs triagingA bug report that needs triaging
Description
Summary
The slash_autocomplete.py
file does not work and errors out upon running the file.
Reproduction Steps
Just run slash_autocomplete.py
and it errors out.
Expected Results
It should work.
Actual Results
It errors out with this error:
Traceback (most recent call last):
File "slash_autocomplete.py", line 127, in <module>
async def autocomplete_example(
File "C:\ProgramData\Anaconda3\lib\site-packages\discord\bot.py", line 834, in decorator
result = command(**kwargs)(func)
File "C:\ProgramData\Anaconda3\lib\site-packages\discord\commands\core.py", line 1464, in decorator
return cls(func, **attrs)
File "C:\ProgramData\Anaconda3\lib\site-packages\discord\commands\core.py", line 575, in __init__
validate_chat_input_description(description)
File "C:\ProgramData\Anaconda3\lib\site-packages\discord\commands\core.py", line 1507, in validate_chat_input_description
raise ValidationError(
discord.errors.ValidationError: Command description must be 1-100 characters long. Received This demonstrates using the ctx.options parameter to create slash command options that are dependent on the values entered for other options.
Intents
Intents are not relevant here
System Information
Python Version: 3.8.11
OS: Windows 10
Pycord Version: 2.0.0b4
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.
Metadata
Metadata
Assignees
Labels
unconfirmed bugA bug report that needs triagingA bug report that needs triaging