Creating a custom help command - Building a discord.py bot - Part 14

Creating a custom help command - Building a discord.py bot - Part 14

Carberra

4 года назад

13,333 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sriram Manas Adiraju
Sriram Manas Adiraju - 27.03.2022 14:47

Hello Carberra, I'm getting one problem
when I command the bot with help command it sends the message but instantly deletes it

Ответить
malarky642
malarky642 - 09.02.2022 04:47

Appreciate the video. I found a small issue where the required and optional both would always have <>. The fix I found was changing 'NoneType' to 'Optional'. Apparently Typing.Optional changed between the time this video came out and now. Who would've guessed lol.

Thanks so much for your videos.

Ответить
Lucy
Lucy - 29.12.2021 05:56

For the reactions when using ext-menus, how do I make it so whenever a user reacts to one, it removes their reaction instantly? I’ve tried clear_reactions_after but that removes the users reaction when they press on another reaction which I don’t want.

Ответить
Techy and Gaming Dude
Techy and Gaming Dude - 29.09.2021 13:33

where to put the bot token and run the bot????

Ответить
ChrisLp44
ChrisLp44 - 16.09.2021 20:30

How do u do it so that when you react to the reactions the bots deletes it? I have no clue pls help :(

Ответить
Prime
Prime - 04.08.2021 19:44

Do i need to do something to make it work cause i typed it in a new python file not the main one, but when i start it i get none errors its just the help command not showing

Ответить
Sans Playz
Sans Playz - 17.06.2021 08:38

You should not remove the help command. Instead you should subclass it. The built in help command is very useful as it provides so much error handling and other stuff easily. But by removing the help command you basically have to do all that stuff yourself. Subclassed help command is much more useful. It sorts the commands in cogs and sorts the cogs too.

Ответить
Parikshit Rao
Parikshit Rao - 04.06.2021 08:36

Can anyone tell How do i Sort it by Cogs :(

Ответить
Finn Liry
Finn Liry - 07.05.2021 21:09

Hi. I would love to know how to sort these cogs?

Ответить
Shenderrring
Shenderrring - 06.05.2021 05:50

I ran into this problem when I added cog 'info': When the 'help' command is initialized, the dialog box with the bot is immediately closed. What could be the problem, can't you tell?

Ответить
SuperNova
SuperNova - 27.04.2021 22:17

Hey Carberra, can I make a command hidden to keep it like a secret command like in the default help command?

Ответить
Cheeky Swag 123
Cheeky Swag 123 - 15.04.2021 19:31

Thanks for the tutorial! Though, I am not surprised tutorials always type so inhumanely fast.

Ответить
Anastasios Selalmazidis
Anastasios Selalmazidis - 14.04.2021 16:12

Great video man. i noticed that the custom help command does not work on subcommands.
Any change to make a new video on that or post an example?

Ответить
Lokezy AG
Lokezy AG - 30.03.2021 04:48

How do I make it so that it only shows how to use the command when you do the help <cmd>

Ответить
Lokezy AG
Lokezy AG - 20.03.2021 07:05

BRO THANK YOU SO MUCH MUCH LOVE <3

Ответить
Dr Dimension
Dr Dimension - 07.03.2021 01:16

How can I organize this by cog? Right now, there's an 8ball command next to a help command next to a ban command and its really disorganized

Ответить
JoelGer
JoelGer - 05.03.2021 23:15

Hello everyone I got these errors: "No name 'menus' in module 'discord.ext' " and "Unable to import 'discord.ext.menus' "

anybody that can help me?

Ответить
Frostiiify
Frostiiify - 18.02.2021 13:48

Hey! I subclassed this help so it would has cog help

Ответить
Esteban S
Esteban S - 15.02.2021 04:16

Would it be possible to create hidden commands. For example if there was a command only used for debugging and you didn't want people seeing it.

Ответить
Esteban S
Esteban S - 15.02.2021 02:08

how does the params thing work? Isn't it supposed to be an object of the command class?

Ответить
Ardonit Hoxhaj
Ardonit Hoxhaj - 14.02.2021 02:36

Hello guys. I have a question. How can i do the briefing thing he said he was gonna show how to do, because instead of saying "No Description" I want to give e lil description :P

Ответить
Manuel Carapellucci
Manuel Carapellucci - 10.02.2021 12:01

I can't understand why it gives me this error: menu = MenuPages(source = HelpMenu(ctx, list(self.bot.command)), clear_reactions_after=True, delete_message_after=True, timeout=60.0)
TypeError: 'method' object is not iterable Can you help me pls?

Ответить
JR
JR - 02.02.2021 03:52

so how do you fix it to where you can customize the "no description" and make it unique to each command?

Ответить
Shikhar Agrawal
Shikhar Agrawal - 01.02.2021 11:43

how do you make that Optional[str] thing work
it gives this error `NameError: name 'Optional' is not defined`

Ответить
Jakub Špunar
Jakub Špunar - 29.01.2021 21:38

This one was awesome ;)

Ответить
Agon Y. Mus
Agon Y. Mus - 21.01.2021 13:22

any way NOT deleting it?

Ответить
Charbel Fayad
Charbel Fayad - 14.01.2021 00:22

Hey, so i repeated the video many times and i still get a message in the command errored event that the help command is not implement yet even though it is... Anyone knows whats wrong? Help for a specific command works but the main help command doesn't :/

Ответить
Xenon
Xenon - 05.12.2020 12:52

Im hosting my bot how do I put discord menu requirements in a requirements.txt?

Ответить
uwu
uwu - 28.11.2020 04:56

hmm, nice vid, but what should i modify to add a personalized embed and just the reactions to change the embeds like page 1 , 2, etc so the embed will not be automatically generated but you create it

Ответить
Dastan Özgeldi
Dastan Özgeldi - 16.11.2020 12:08

hey, great tutorial! is there a way to make `.help <command>` able to understand command aliases? i tried everything i know and still failing

Ответить
Aurorusidk
Aurorusidk - 15.11.2020 16:55

how would you sort by cogs

Ответить
Josh Lee
Josh Lee - 12.11.2020 22:00

Properly world shattering!! I learned so much! Thank you!

Ответить
Prince Raj
Prince Raj - 12.11.2020 18:50

You can use command.signature instead of creating a syntax function.... syntax function is 🤯🤯

Ответить
Apollon
Apollon - 12.11.2020 12:59

hello, everything works fine to me but how would i remove the a command from the command menu? basically it works as a secret command

also when using menus, other people can also react on the message and move to other pages, how would i make it so that it only works with the author?

thanks for your amazing work on this tutorial! :D

Ответить
Blood 1
Blood 1 - 29.10.2020 15:53

Hey, how to set the brief ?

Ответить
Scouri
Scouri - 16.10.2020 08:51

so im having issues doing this, i did the pip install discord-ext-menus link, but its still not registering that i downloaded it. im not sure what i did wrong since i did everything in the 1st video

Ответить
mmatt
mmatt - 14.09.2020 07:12

you still forgot to add the card to the intro to cogs vid xdd

Ответить
Dyson Smith
Dyson Smith - 27.08.2020 04:18

How do I make a command hidden?

Ответить
Bardia Ghb
Bardia Ghb - 26.08.2020 16:52

can you give us full code?

Ответить
Coler
Coler - 14.08.2020 04:09

LOVE IT!!! Super long video but 100% worth it!

Ответить
Pluristic
Pluristic - 07.08.2020 16:13

I got an error saying Attribute Error: 'Bot' object has no attribute 'ready' on the line if not self.bot.ready:

Ответить