omg man thank you , finally found a way to do slash commands instead of all those tree stuffs
@KashTheKingYT5 ай бұрын
This tutorial was the clearest explanation of slash commands I have ever seen🙏 Also I didn't realize I had to refresh discord I was so confused for a while why they weren't showing up 😂
@Lordecai5 ай бұрын
BRO I LOVE YOU SO MUCH FOR SAYING THIS MAN. I’ll be remaking this soon once I become better at Discord.Py. Lmk what concepts you want me to tackle so I can make tutorials on them
@StormcodeInStormworks3 ай бұрын
oh my god, you are a lifesaver. thank you so much, i have been searching for hours
@Mrcrzytornado1Ай бұрын
The humor at the end was hilarious, also thank you, this helped me finally be able to start mass producing slash commands :D
@LordecaiАй бұрын
Heck yeah thanks man. I’m gonna start getting back into tutorials again. Any suggestions on what I should tackle next? It can be about anything!!
@Mrcrzytornado1Ай бұрын
@@Lordecai how to restrict slash commands to certain people?
@LordecaiАй бұрын
Oh good question. I’ll have time Monday night to make that. Thanks!
@Mrcrzytornado1Ай бұрын
@@Lordecai sounds good!
@chrisalashАй бұрын
You are the goat this is the only tutorial that has worked!
@xlrclash7 күн бұрын
you are a saviour bruh ive been tryna work with the tree bs for days
@dsfsdad4727Ай бұрын
bro thanks so much like i was stuck on this for a year im not even capping
@user-qh8qt8zv2n5 ай бұрын
after 2 hours finally something that worked W dude
@Lordecai5 ай бұрын
Ofc bro. Please lmk if you have any questions. I can help solve all and it helps me become a better programmer
@CCarsz12 күн бұрын
I can just hear your excitement because of the research done
@AngadYT_Ай бұрын
BROTHER THANK U MAN U DESERVE A SUB
@15uiGoated2 ай бұрын
you are underrated my guy
@atktbro2 ай бұрын
Ur funny af! love the tutorial
@agalarteymurov28784 ай бұрын
men thank you, i almos gave up, your video saved me
@Mrcrzytornado1Ай бұрын
Same
@Kevin_Crysler5 ай бұрын
after 6 hours find this... DUDE THANK YOU!!!!
@Lordecai4 ай бұрын
Heck yeah bro. I appreciate that. Let me know if you want to learn any other concept
@SilverMiraii2 ай бұрын
Legend
@gerbsot2 ай бұрын
Omg tysm ❤❤❤❤❤
@magistr97833 ай бұрын
With Ctrl + R you can restart actual discord app and do it there instead of web version.
@IntoTheVault_20 сағат бұрын
w video man ve ry helpfull
@disasterarea93413 ай бұрын
why do you want to sync ? what does it do? what would happen if you didn't do it?
@SwiftDustStorm2 ай бұрын
what if I have a class from discord.Client?
@Ultime_on-top4 ай бұрын
possible to make an unsync command?
@Ryan-yh3wn3 ай бұрын
Thank you very much for the video! I was wondering how you got your auto-complete like that on VScode? I tried to google (admittedly not very hard) and couldn't seem to dig anything up. Is it an extension of some sort?
@Lordecai3 ай бұрын
I use copilot
@MOPTAM2 ай бұрын
bro you saved my life from some tree shits
@SpunkyOfficial5 ай бұрын
Lovely tutorial, could just give me a code block on cog implementation with a class template of the cog please?
@Lordecai5 ай бұрын
I’ll see what I can do. When do you need this by?
@locallyluca5 ай бұрын
it worked once and then just stopped no matter what happened (i turned the bot back on, tried other cmds, etc.). do you know why?
@Lordecai5 ай бұрын
Very strange. Do you have commands registered when you added the bot to the discord?
@user-ew7mc5qs8n5 ай бұрын
Everytime I try to do the /ping command it says application command 'ping' not found. I have the excact same thing going through tutorial after tutorial nothing is working T_T and when it does work I need to rewrite the whole code because It will only work with full slash commands not hybrid and I dont know how to rewrite it all into full on slash commands
@Lordecai5 ай бұрын
Hey! I hope you’re doing well. How do you have your commands set up? Is it with @bot.tree or @hybrid_command? These are REALLY important to distinguish as the bot only does one or the other Drop your code in the comment if it fits (minus the token), I’d be happy to debug
@user-ew7mc5qs8n5 ай бұрын
@@Lordecai Hey yeah I found a different video and some help on the python discord and I finally got it working, though not as easy as you did. I'm very new to coding and my code is an absolute mess lol but at least it works XD. Could you maybe make a video on how to actually setup slash commands? Im trying to add an options parameter to a slash command but it just isn't working
@Lordecai5 ай бұрын
@user-ew7mc5qs8n oh like different arguments to pass in? Yeah hell yeah I could do that this Saturday
@user-ew7mc5qs8n5 ай бұрын
@@Lordecai Ty so much man yeah like /buy and then itll give you some options to choose from that have to be chosen. I know it sounds simple hahaha but I'm just struggling
@Lordecai5 ай бұрын
Bro I love you rn. That's a really good suggestion. In the meantime, hit up the docs. Here are some examples from the GitHub itself: github.com/Rapptz/discord.py/tree/master/examples/app_commands Specifically this code: class Fruits(Enum): apple = 0 banana = 1 cherry = 2 dragonfruit = 3 @client.tree.command() @app_commands.describe(fruit='The fruit to choose') async def fruit(interaction: discord.Interaction, fruit: Fruits): """Choose a fruit!""" await interaction.response.send_message(repr(fruit)) Lmk if that helps
@gabiguereta5 ай бұрын
I have the same problem
@Lordecai5 ай бұрын
What's the problem
@diehole82344 ай бұрын
Hello, I have the same issue right now I got it to work with one command but that one took an hour of waiting for it to finally be synced up. I have other commands that haven't yet been synced up and I was hoping you could help me. One of them is in a Cog with the decorator `@app_commands.command(name='available')` the other is in the main file using client.tree
@Lordecai4 ай бұрын
Hey, thanks for the comment. I don’t know too much about Cogs yet. When I understand them I’ll be sure to make an updated video