#π Cannot import name 'SlashCommandOptionType'
35 messages Β· Page 1 of 1 (latest)
@edgy peak
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
deprecated
its integrated with dpy now
so how do i run the bot now?
@old moss
this is my script
someone please help
no?
the imports dont exist
theyβve been merged with the main dpy library
so i cant use the bot anymore?
you can use the bot
whats commands.Option supposed to be?
do pip list in your terminal and show the output
nvm it's supposed to be from discord import Option not discord.commands
Learn all about Slash Commands and how to implement them into your Discord Bot with Pycord!
do i import the scipt into my code?
@muted sluice i did pip list
my question is how have both libraries not collided? he has discord, discord.py and pycord all installed
they probably have
first read the guide
implement the code in your way
dont juts copy paste and expect it to work magically
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.