omg man thank you , finally found a way to do slash commands instead of all those tree stuffs
@KashTheKingYT6 ай бұрын
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 😂
@Lordecai6 ай бұрын
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
@Mrcrzytornado12 ай бұрын
The humor at the end was hilarious, also thank you, this helped me finally be able to start mass producing slash commands :D
@Lordecai2 ай бұрын
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!!
@Mrcrzytornado12 ай бұрын
@@Lordecai how to restrict slash commands to certain people?
@Lordecai2 ай бұрын
Oh good question. I’ll have time Monday night to make that. Thanks!
@Mrcrzytornado12 ай бұрын
@@Lordecai sounds good!
@StormcodeInStormworks4 ай бұрын
oh my god, you are a lifesaver. thank you so much, i have been searching for hours
@CCarszАй бұрын
I can just hear your excitement because of the research done
@xlrclashАй бұрын
you are a saviour bruh ive been tryna work with the tree bs for days
@chrisalash2 ай бұрын
You are the goat this is the only tutorial that has worked!
@user-qh8qt8zv2n6 ай бұрын
after 2 hours finally something that worked W dude
@Lordecai6 ай бұрын
Ofc bro. Please lmk if you have any questions. I can help solve all and it helps me become a better programmer
@dsfsdad47272 ай бұрын
bro thanks so much like i was stuck on this for a year im not even capping
@AngadYT_2 ай бұрын
BROTHER THANK U MAN U DESERVE A SUB
@agalarteymurov28785 ай бұрын
men thank you, i almos gave up, your video saved me
@Mrcrzytornado12 ай бұрын
Same
@Kevin_Crysler5 ай бұрын
after 6 hours find this... DUDE THANK YOU!!!!
@Lordecai5 ай бұрын
Heck yeah bro. I appreciate that. Let me know if you want to learn any other concept
@SilverMiraii3 ай бұрын
Legend
@15uiGoated3 ай бұрын
you are underrated my guy
@IntoTheVault_28 күн бұрын
w video man ve ry helpfull
@atktbro3 ай бұрын
Ur funny af! love the tutorial
@qteezden3 ай бұрын
Omg tysm ❤❤❤❤❤
@magistr97834 ай бұрын
With Ctrl + R you can restart actual discord app and do it there instead of web version.
@MOPTAM3 ай бұрын
bro you saved my life from some tree shits
@SwiftDustStorm3 ай бұрын
what if I have a class from discord.Client?
@disasterarea93414 ай бұрын
why do you want to sync ? what does it do? what would happen if you didn't do it?
@Ryan-yh3wn4 ай бұрын
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?
@Lordecai4 ай бұрын
I use copilot
@user-ew7mc5qs8n6 ай бұрын
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
@Lordecai6 ай бұрын
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-ew7mc5qs8n6 ай бұрын
@@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
@Lordecai6 ай бұрын
@user-ew7mc5qs8n oh like different arguments to pass in? Yeah hell yeah I could do that this Saturday
@user-ew7mc5qs8n6 ай бұрын
@@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
@Lordecai6 ай бұрын
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
@SpunkyOfficial6 ай бұрын
Lovely tutorial, could just give me a code block on cog implementation with a class template of the cog please?
@Lordecai6 ай бұрын
I’ll see what I can do. When do you need this by?
@Ultime_on-top5 ай бұрын
possible to make an unsync command?
@lucathebrainrot6 ай бұрын
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?
@Lordecai6 ай бұрын
Very strange. Do you have commands registered when you added the bot to the discord?
@gabiguereta6 ай бұрын
I have the same problem
@Lordecai6 ай бұрын
What's the problem
@diehole82345 ай бұрын
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
@Lordecai5 ай бұрын
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