Make a Discord Bot with Python (Part 3: Commands) | Latest Discord Py Version

preview_player
Показать описание
Yay, part 3 is here!

Commands are the focus of almost every discord bot, so it is important to know how to include them in your own bot. In this video, you'll learn how to create commands and give them functionality. I am so grateful that everyone is enjoying this python discord bot series as much as I am! Please comment which programming aspect you would like me to focus on next.

⥊Project Links


⥊Social Media

⥊Merch (to rep the nation)

⥊Free Code Editors
#DiscordBot #DiscordPy
Рекомендации по теме
Комментарии
Автор

Great tutorial! I enjoyed it because you explained things slowly and clearly, which is extremely helpful for a beginner like myself. Do you think you can make a music bot tutorial? :D

dfccece
Автор

Thank you so much, I've seen all your Discord bot with Python tutorials and they helped me a lot. I hope that you'll continue these tutorial because they are great!

maurigio
Автор

Aight so I figured out the problem I had with your first bot video (I typed a thing wrong lol) and now I’m making commands. Thx so much for making this, it’s really helping

kariduanimations
Автор

Thanks! At first I used your video which I liked a lot, but was only enough information for a chatbot! But my latest bot is definently going to need these arguments to work.

techzacharyzn
Автор

hi i just started learning coding soon and this helped alot your channel is doing great keep up the good work!

ahmedhossamwaly
Автор

Wonderful tutorial dude! Watched all the 3 pts and understood everything crystal clear. Please make the next part and teach us how to add the ban and kick commands and stuff. Complete the discord bot tutorial!!! Thank you and stay safe!

shreyasnair
Автор

Can you make a video about how to have multiple things, like it deleting certain messages AND commands?

potatochips
Автор

Great tutorial! Next time can you please increase the size of the fonts a little bit please, there is a huge gap on the screen and I struggled reading the codes

Автор

How can i make all the functions work at the same time like deleting texts in an image only and the '!hello Alexa' (my name not yours)

MercGoBrr
Автор

my commands don't work even if I do exactly what you say

asleepalpha
Автор

Really good tutorial, thank you! Is there a way to save the user input into a variable without the prefix? Because for my bot the user shall type in any random number + "d" + number (dice bot). And always typing in "!" before makes it difficult on smartphones. It is only for my friends and me and in a special channel, so it won't be a problem to not use the "!".

rockybalboa
Автор

Thank you for these tutorials! They have been extremely helpful. Is there any way a bot can check something online? Like checking a news outlet, or checking twitter or something like that and sending an update to a channel?

lilith
Автор

Is there a way to use, the arguments that we pass, outside the function?

riskyrun
Автор

my code sadly does not work at all. i checked for mistakes multiple times and can't find any. my code is exactly the same as shown in the video, but yet it still doesn't work. the pycharm console doesn't give me any errors but the bot isn't sending any messages in the discord channel. i would really appreciate some help. thanks in advance^^

Edit: I am using Python 3.8 on Windows and sorry for my terrible english it's not my mothertongue

Pokachu-ckmh
Автор

i have a question, how can i make the two args be integers so i can add them and then send the total value?

trustedjoy
Автор

@client.command()
async def warn(ctx, *, arg):
await ctx.send(arg) this is a working command

ALPHA
Автор

I did the same thing step by step but am not getting any output from my help!

chefdubskrr
Автор

How do I make the bot say the output in one message?

mxx
Автор

I've put in the code like you have it and have also tried the methods in the comments and in the discord.py and nothing happens. My bot does not perform the command but pretty sure it has to do with "import discord" being grayed out and the issue it quoted being "unused import statement". How do I fix this?

Also, I'm on Windows 10 with Python 3.9

owokayisee
Автор

it doesn't work for me I get the error: TypeError: 'NoneType' object is not callable can anyone help

tylersmit
visit shbcf.ru