Пікірлер
@Pawlo370
@Pawlo370 3 ай бұрын
.format 💀
@GlitchedLime
@GlitchedLime 4 ай бұрын
Thanks 💪❤️
@LiveAkshat
@LiveAkshat 4 ай бұрын
Wtf bro I just checked your channel.. You are so underrated... 😢
@lcp_sweat6779
@lcp_sweat6779 6 ай бұрын
Could you help me mine says Import error when trying to import Option
@Phibixy
@Phibixy 7 ай бұрын
It didn't work :/
@profklins
@profklins 7 ай бұрын
How ?
@syrok69
@syrok69 8 ай бұрын
thank you that was helpful
@vihaan1
@vihaan1 9 ай бұрын
How do I add another option?
@donorga5677
@donorga5677 9 ай бұрын
@bot.slash_command(guilds) async def hello(ctx, member: Option( ...), emoji: Option( ...)
@idreesdigital
@idreesdigital 10 ай бұрын
After a lot of searching, finally found this. Thanks for the help.
@KirbiePVP
@KirbiePVP Жыл бұрын
New subscriber!
@nolansi1458
@nolansi1458 Жыл бұрын
is there a reason you are using .format instead of f strings?
@orgacodes
@orgacodes Жыл бұрын
make sure to run those commands in your terminal / shell before running your program: pip install py-cord pip install typing-extensions
@CodeWithManuel
@CodeWithManuel Жыл бұрын
Bro l have some problem with my bot can l get a help?
@Doule_
@Doule_ Жыл бұрын
What problem do you have?
@orgacodes
@orgacodes Жыл бұрын
What's the problem ?
@atomes
@atomes Жыл бұрын
thanks so much man
@orgacodes
@orgacodes Жыл бұрын
You're welcome <3
@LZulb
@LZulb Жыл бұрын
I couldn't find choices on the py-cord documentation. Thanks for sharing!
@LZulb
@LZulb Жыл бұрын
Thanks for the video! Ugh, but I absolutely hate the fact Discord forces slash commands. This formating is hella goofy (slash formating, not how you're writing it) I'm using the same imports and such you're using (formating differences) and was hoping there was a more pleasant way to write slash commands. This, I think is the forever future.
@orgacodes
@orgacodes Жыл бұрын
docs.pycord.dev/en/stable/api.html?highlight=slash#discord.Bot.slash_command
@orgacodes
@orgacodes Жыл бұрын
I believe you can register it as a normal command with the command() and then register it as a slash command using add_application_command(command)
@LZulb
@LZulb Жыл бұрын
Unfortunately, not a slash command.