Python: Making a Discord bot (Part 14: Custom Help Command)

  Рет қаралды 43,478

Lucas

Lucas

Күн бұрын

In this video, we learn how to use the built in help command and create our own custom version of it.
If you have any suggestions for future videos, leave it in the comments below.
GITHUB: github.com/Rapptz/discord.py
DOCUMENTATION: discordpy.readthedocs.io/en/l...
OFFICIAL DISCORD.PY SERVER: / discord
JOIN MY HELP SERVER: / discord
#DiscordBot #Rewrite

Пікірлер: 143
@Lucas-tz3jp
@Lucas-tz3jp 3 жыл бұрын
I tried increasing the recording volume so hopefully its a bit louder!
@AnimationCoconut
@AnimationCoconut 3 жыл бұрын
Yeah it's better than the old one
@farhanahmedfahim8113
@farhanahmedfahim8113 3 жыл бұрын
It's actually helpful
@tripstergaming8435
@tripstergaming8435 3 жыл бұрын
Yeah... I liked the video before loading lol 🤣
@tripstergaming8435
@tripstergaming8435 3 жыл бұрын
Lucas what is the name of your vscode theme... I hope you read this...
@Lucas-tz3jp
@Lucas-tz3jp 3 жыл бұрын
@@tripstergaming8435 Its the horizon theme. (marketplace.visualstudio.com/items?itemName=jolaleye.horizon-theme-vscode ) I actually have an FAQ in my discord server if you want to check that out
@0rekeroni
@0rekeroni 2 жыл бұрын
Please keep posting these videos. I find them so interesting and helpful. I am a first year CS Major, and this is making it so much more interesting.
@h8rsbeware496
@h8rsbeware496 2 жыл бұрын
This is only of the only things ive enjoyed doing in python, Im a JS person, and have a decent amount of experience when it comes to making bots, but my uni wanted me to do it in python. So thank you, this has been a useful source of information. Stay safe :)
@MMT--Games
@MMT--Games 3 жыл бұрын
happy to see you coming back after 1 year like nothing happened. looking forward to see more videos!
@ishanchag6467
@ishanchag6467 2 жыл бұрын
This aged well.
@MMT--Games
@MMT--Games 2 жыл бұрын
Very well
@krispysnacks.7459
@krispysnacks.7459 2 жыл бұрын
this guy literally a legend. we want moreee
@MWSTH-2546
@MWSTH-2546 3 жыл бұрын
Yesss, you're first I have to learn to coding bot discord :D
@boltthunder5788
@boltthunder5788 3 жыл бұрын
I started learning with your videos about 3 weeks ago. Today, I have a Bot running in multiple servers and scheduled for verification on topgg with over 70 commands. Thank you.
@synthtea93
@synthtea93 3 жыл бұрын
That's awesome! If you don't mind me asking, what are some of the commands you have implemented? I'm kinda stuck as to what commands I want to have
@synthtea93
@synthtea93 3 жыл бұрын
@@boltthunder5788 Thanks for the ideas!
@user-jd3gf5xw1x
@user-jd3gf5xw1x 3 жыл бұрын
so... what is the bot's name?
@Joe-zg9eq
@Joe-zg9eq 2 жыл бұрын
Whats the bot name?
@thellamaboi9664
@thellamaboi9664 3 жыл бұрын
OMG finally a good video from u after the unban command with for loops
@wbmjunior0
@wbmjunior0 3 жыл бұрын
Hi this was my python origin. I am now advanced in it :)
@cns6827
@cns6827 3 жыл бұрын
same
@Min-dz1gm
@Min-dz1gm 2 жыл бұрын
Thanks for the motivation senior
@wbmjunior0
@wbmjunior0 2 жыл бұрын
@@Min-dz1gm senior? Hardly. The journey of a programmer is a tedious one!
@edward_lmao
@edward_lmao 2 жыл бұрын
ok and?
@user-ge7ep5sc2d
@user-ge7ep5sc2d 2 жыл бұрын
@@edward_lmao mad fortnite kid
@ep27
@ep27 3 жыл бұрын
i think the next video should be about a mute command or a welcome message. nice tutorial !
@lildotexe4876
@lildotexe4876 2 жыл бұрын
I would really love to see a tutorial for how to make the bot play/stream music. I dont think there are tutorials about it that explain everything as easy as you always do
@cleverdom1230
@cleverdom1230 3 жыл бұрын
Great Video! Please make a video on the updated level system, Thanks!
@metastag
@metastag 3 жыл бұрын
Future video suggestion: Buttons in discord.py
@HedTB
@HedTB 3 жыл бұрын
not released, coming in discord.py version 2.0.
@km127pl
@km127pl 3 жыл бұрын
Oh damn he came back, sad that i switched to discordjs a few months ago, might come back to python not gonna lie
@aidux4
@aidux4 3 жыл бұрын
Buddy, cause of you I learned how to make discord bots, and earned some cash for you, thanks man!
@Linusen9
@Linusen9 2 жыл бұрын
Wait you can sell Discord bots????!!!!
@Bmxrkid
@Bmxrkid 2 жыл бұрын
@@Linusen9 Easily
@nightslayerofficial2427
@nightslayerofficial2427 2 жыл бұрын
@@Bmxrkid How
@Bmxrkid
@Bmxrkid 2 жыл бұрын
@@nightslayerofficial2427 Fiverr is a good place to start
@nightslayerofficial2427
@nightslayerofficial2427 2 жыл бұрын
@@Bmxrkid oh yeah forgot about that lol
@sefs9966
@sefs9966 3 жыл бұрын
thank you for this series
@AbinDai
@AbinDai 3 жыл бұрын
Yoo welcome back 🔥
@hitendusseja6615
@hitendusseja6615 3 жыл бұрын
Thanks alot Lucas
@LimonluMentos
@LimonluMentos 3 жыл бұрын
Please keep videos on Discord.py so I can keep feeding my discord bot addiction.
@klintkrossa6885
@klintkrossa6885 3 жыл бұрын
I have a couple things that google can not find. In voice chat I some time leave my chat on, do you have a video on how to kick quiet or not using off of the voice channel? Although I have a small channel I thought that there would be some sort of logging tool to see who is a member? Yes there is a new member bot, what about all the other members?
@purpledzoro5536
@purpledzoro5536 3 жыл бұрын
THE RETURN!!!!!!!!!!
@domon1056
@domon1056 3 жыл бұрын
Pls make a tutorial on currency system. appreciate the videos you have been making! Gd Work!
@justsomeguy6545
@justsomeguy6545 2 жыл бұрын
It is not that hard you can just use .json files or a online data base for storage and then just add to the number when ever they earn some and take it when they lose pretty easy
@veeqkz9766
@veeqkz9766 3 жыл бұрын
Sick vid mate
@breakabletuber5058
@breakabletuber5058 3 жыл бұрын
YOU RETURNED W0W
@bg10_
@bg10_ 2 жыл бұрын
could you upload a pycord series? it would be super useful
@morganhinz9657
@morganhinz9657 3 жыл бұрын
this is poggers
@shreyas449
@shreyas449 3 жыл бұрын
ayyyyyy finally
@t4f1
@t4f1 3 жыл бұрын
eyyo he uploaded
@Noah-rf6qo
@Noah-rf6qo 3 жыл бұрын
You should make a tutorial on the new buttons
@adios8919
@adios8919 2 жыл бұрын
commenting for algorithm
@williamstewart7399
@williamstewart7399 3 жыл бұрын
Do you have any suggestions for learning sorting algorithms?
@Lucas-tz3jp
@Lucas-tz3jp 3 жыл бұрын
visualgo.net/en/sorting Fun website I used when I first learned them :) You can visualize the algorithm and it shows you the pseudocode
@williamstewart7399
@williamstewart7399 3 жыл бұрын
@@Lucas-tz3jp excellent! Thank you
@phantavius
@phantavius 2 жыл бұрын
You should do some covering role management.
@t4f1
@t4f1 3 жыл бұрын
anyway I made this custom cog help loader it's not the same in the video but its WIP import discord from discord.ext import commands class Help(commands.Cog): """Sends this help message""" def __init__(self, client): self.client = client @commands.command() async def help(self, ctx, *, module = None): prefix = '.' description = "" if module == None: embed = discord.Embed(title = 'Help - Commands', description = f"use `{prefix}help ` for more info") for cog in self.client.cogs: description += f"`{cog}` {self.client.cogs[cog].__doc__} " embed.add_field(name = "Modules", value = description) await ctx.send(embed = embed) if module in self.client.cogs: module_functions = self.client.get_cog(module) for command in module_functions.get_commands(): value = f"{prefix}{command.name} " parameters = [] params_unfiltered1 = command.__dict__['params'] for params in params_unfiltered1: x = params.split(',') if x[0] not in ('ctx', 'self'): parameters.append(params) for word in parameters: value += f" " description += f"`{value}` {command.help} " embed = discord.Embed(title = f"Module - {module}", description = description) await ctx.send(embed = embed) def setup(client): client.add_cog(Help(client))
@M1tsay
@M1tsay 2 жыл бұрын
what is the command that even if you write in uppercase and lowercase it executes?
@forevorhabepno
@forevorhabepno 2 жыл бұрын
Hey, bro! Can you make a video where you show how to create Embed, Timestamp, Fotter and the like? It will be very useful!
@David-nl8qs
@David-nl8qs 2 жыл бұрын
Could you do a video on how to make Embeds! Thanks :D
@aadarsh.without.aadarsh
@aadarsh.without.aadarsh Жыл бұрын
Yeah
@plexhydra
@plexhydra 3 жыл бұрын
Please make a video about how to use the new buttons (with embeds/advanced) Discord added recently. That would be nice :)
@hdehilter9016
@hdehilter9016 2 жыл бұрын
It's really easy to do!
@koidalipoznaam
@koidalipoznaam 2 жыл бұрын
@@hdehilter9016 How?
@chronicsnail6675
@chronicsnail6675 3 жыл бұрын
After a slumber
@petitfrapo
@petitfrapo 3 жыл бұрын
Do you plan on making a warn command?
@chriszethird
@chriszethird 7 ай бұрын
Any chance you could explain how to do this but with slash commands?
@camidelisle
@camidelisle 3 жыл бұрын
Can you do a part 15 : jse custom emojis and réactions please. I didn't find any video talking about that and I think this subject can be intresting.
@sadancooler7210
@sadancooler7210 2 жыл бұрын
Custom emojis can only be added if the server has them i think.
@themilkiestway
@themilkiestway 3 жыл бұрын
Can you please make a welcome and goodbye message for a future video?
@smg5357
@smg5357 2 жыл бұрын
If you can help me, how to make specific roles use specific commands?
@waterboy_7185
@waterboy_7185 2 жыл бұрын
Please make a video on embeds !!
@maans2001
@maans2001 2 жыл бұрын
@Lucas What's the name of your VSCode theme ?
@tescomealdeal
@tescomealdeal 2 жыл бұрын
atom one dark i think, if not it looks so similar
@michas2080
@michas2080 2 жыл бұрын
Please, can u make the same series using hilarious because discord py isn’t gonna be updated? Please
@Antek1234l
@Antek1234l 3 жыл бұрын
Good ending
@cubeboi7070
@cubeboi7070 2 жыл бұрын
please could you make a leveling system vid?
@kristaqvin
@kristaqvin 3 жыл бұрын
More videos!
@mujtabanaveed3583
@mujtabanaveed3583 2 жыл бұрын
He returns and then vanishes
@w0lfy098
@w0lfy098 2 жыл бұрын
13 episodes in 2 years?? also if you see this plz make a tutorial on how to make the bot make roles/channels/categories and give ppl roles and make a category private plzzzzz I wanna make a server making bot with spam detection, server auto making, and also cool commands and all of that cool stuff in bots like mee6 or Dyno for example but with auto server maker
@AnimationCoconut
@AnimationCoconut 3 жыл бұрын
What will be the next episode?
@cloudddy5481
@cloudddy5481 3 жыл бұрын
Can you do economy system please?
@goosfeel
@goosfeel 2 жыл бұрын
More Videos!
@ritamsaha3512
@ritamsaha3512 2 жыл бұрын
Can you do a tutorial on slash commands
@samanthaaa289
@samanthaaa289 3 жыл бұрын
I made a custom help command, but i used a way different way, anyways, thank you.
@LibrandiYT
@LibrandiYT 3 жыл бұрын
would you help me with mine this one didnt work for me
@samanthaaa289
@samanthaaa289 3 жыл бұрын
@@LibrandiYT I can't right now.
@LibrandiYT
@LibrandiYT 3 жыл бұрын
just got it working and it actually some how pulled all of my bots commands that I had and made a list of them for me i don’t know how still kinda new to this but if you could join my discord and help me get fix a piece of it that’d be great
@LibrandiYT
@LibrandiYT 3 жыл бұрын
discord.gg/4af75dY
@landonrivers
@landonrivers 2 жыл бұрын
Hi there, what will you do now that discord.py has been archived?
@mo.alaidaroos
@mo.alaidaroos 2 жыл бұрын
it is back
@kashyup
@kashyup 2 жыл бұрын
Please make another series for 2022
@kerkpoweriraphahellfan5990
@kerkpoweriraphahellfan5990 3 жыл бұрын
Can you make leveling next
@Daiikino
@Daiikino 3 жыл бұрын
yo can you make a video on how to make the bot send images or gifs if ya know what i mean
@iamdomy7621
@iamdomy7621 3 жыл бұрын
hello i need help can you make bot that makes embed and whenever someone tag the role then the bot edits embed and type @thatrole in embed.
@amberblade3722
@amberblade3722 2 жыл бұрын
I wanna ask smth I wanna make more custom help commands How do I make more
@ophirn.m7817
@ophirn.m7817 2 жыл бұрын
can you make a leveling system rewrite video????
@mvpbluesky9820
@mvpbluesky9820 3 жыл бұрын
Hi Lucas I Like All You Video can you make tutorial how to make the bot online forever pls
@mvpbluesky9820
@mvpbluesky9820 3 жыл бұрын
@NITIN BAIJU ok thanks
@FrostyBoiFN
@FrostyBoiFN 2 жыл бұрын
MOREEEEEEEEEEEEEEEE
@helish_88
@helish_88 3 жыл бұрын
hello Lucas
@krishgarg2806
@krishgarg2806 3 жыл бұрын
can you please please pretty please teach how can we make a leveling system with user cooldowns so that they can't spam to level up?
@kek1247
@kek1247 2 жыл бұрын
You can probably do that by importing the library used for level stuff (i forgot the name of it) and then also use a timer or something of the like for the cooldown, youd also probably need a database to keep every user's level. Im not actually sure though I havent done it.
@krishgarg2806
@krishgarg2806 2 жыл бұрын
@@kek1247 Thanks and I actually found out that dpy comes with CooldownMapping which it uses for command cooldowns, but we can use it in on_message event. I did work the levelling out but now I moved on from discord bots to web dev.
@kek1247
@kek1247 2 жыл бұрын
@@krishgarg2806 Thats cool!
@kooqa2097
@kooqa2097 2 жыл бұрын
What have I done wrong? bot = command.Bot(command_prefix='-', help_command=CustomHelpCommand()) NameError: name 'command' is not defined
@anirbanparamanik6534
@anirbanparamanik6534 2 жыл бұрын
bro make commands not command in bot = command
@themessifan1785
@themessifan1785 3 жыл бұрын
Can you pwease teach us how to make a giveaway discord bot pwetty pwease?
@Ruan-mh7tb
@Ruan-mh7tb 2 жыл бұрын
which theme is it?
@RIjon333
@RIjon333 2 жыл бұрын
horizen
@mxrcelical7679
@mxrcelical7679 3 жыл бұрын
aww we did this already :(
@Lucas-tz3jp
@Lucas-tz3jp 3 жыл бұрын
Not in this new way though ;)
@kocpernik
@kocpernik 2 жыл бұрын
Hi, I have a music bot that needs the FFmpeg program and everything works for me but when I host it on the Heroku website I get an error that this program is missing. I added "import ffmpeg" to the code but it didn't do anything.
@sphericalcow5900
@sphericalcow5900 2 жыл бұрын
do "$ pip install ffmpeg" in shell
@nBlackyHVH
@nBlackyHVH 3 жыл бұрын
please return D:
@sidsstation5041
@sidsstation5041 2 жыл бұрын
they banned me from your help server when i aksed for help. i did nothing wrong idk why they banned me.
@user-if7lb8zy8i
@user-if7lb8zy8i 3 жыл бұрын
I joined ur discord but the guys there were a little on the toxic side ;-;
@DARKGAMING-bo1gl
@DARKGAMING-bo1gl 3 жыл бұрын
Bro I need your help
@LesgoIsLit
@LesgoIsLit 2 жыл бұрын
Do discordvoice!
@josueeee
@josueeee 3 жыл бұрын
No way this is happening
@bbbbbb4107
@bbbbbb4107 2 жыл бұрын
Hey, Could you please reply to this comment with the code?
@doctorco2089
@doctorco2089 3 жыл бұрын
VScodeeeeeeeeeeee
@arandomsmile9069
@arandomsmile9069 2 жыл бұрын
So basic
Making a Discord Bot in Python (Part 1: Setup)
11:01
Lucas
Рет қаралды 94 М.
Python Discord Bot - How to use Cogs [discord.py]
21:53
Anson the Developer
Рет қаралды 23 М.
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 36 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,2 МЛН
Custom Help Commands [#2] Select Menus - Python Discord Bot
19:48
Jonah Lawrence • Dev Pro Tips
Рет қаралды 13 М.
Code a Discord Bot with Python - Host for Free in the Cloud
1:08:28
freeCodeCamp.org
Рет қаралды 2,3 МЛН
How to set a Custom Changing Status with discord.py | Background Tasks
6:04
threading vs multiprocessing in python
22:31
Dave's Space
Рет қаралды 565 М.
Create a discord music bot using python
13:26
Computeshorts
Рет қаралды 39 М.
How To Code a Discord Music Bot
6:10
Max Codez
Рет қаралды 228 М.
How to make an Economy Discord Bot Python | Discord.py 2020
13:48
Code With Swastik
Рет қаралды 111 М.
Python: Making a Discord bot (Part 7: Cogs)
22:55
Lucas
Рет қаралды 200 М.