How to make a Custom Help Command with Discord.py | Python Tutorial

How to make a Custom Help Command with Discord.py | Python Tutorial

Code With Swastik

3 года назад

35,713 Просмотров

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


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

shape'.
shape'. - 14.10.2022 18:55

nice vid ma g

Ответить
Shivierra
Shivierra - 04.08.2022 11:46

Hi. Could u update this tutorial on discord py v2

Ответить
Kevin Strand
Kevin Strand - 12.02.2022 21:31

Exactly what I was looking for

Ответить
BigSmiffy
BigSmiffy - 20.01.2022 18:29

For anyone that wants to know how to make it a vertical list instead of horizontal just set the inline to false. So instead of doing
em.add_field(name = 'Fun', value = '8Ball,Dice,Catmeme') do:
em.add_field(name = 'Fun', value = '8Ball,Dice,Catmeme', inline=False)

Ответить
Wavez
Wavez - 14.12.2021 14:11

This is the worst way to male a help command 💀
Why not just use the commands.HelpCommand subclass

Ответить
TEO
TEO - 04.11.2021 19:28

respect

Ответить
J. M.
J. M. - 06.10.2021 08:13

The issue with this code here is that it needs to be manually updated as you add and remove commands (for example, if you change or remove the >ban command, oyu'll need to make sure to remove or change it in help()). This is not ideal.

Ответить
Ameliaperchria
Ameliaperchria - 03.10.2021 17:53

Thank you soo much! I finally know how to do this, keep up the good work!

Ответить
Sultan Rasul
Sultan Rasul - 14.09.2021 20:53

does not work useless

Ответить
INFINITE31_.
INFINITE31_. - 22.08.2021 04:03

That "ping" was really confusing me

Ответить
Doomskii
Doomskii - 12.08.2021 19:16

@bot.group(invoke_without_command=True)
async def help(ctx):
em = discord.Embed(title = "Help", description = "use !help <command> for extended information on a command.",color = ctx.author.color)


em.add_field(name = "Moderation", value = "`kick`,`clear`")
em.add_field(name = "Fun", value = "`Ping`")

await ctx.send(embed = em)

Ответить
{Lady Kai}
{Lady Kai} - 08.08.2021 17:17

My bot isnt working even though nothing is broken....

Ответить
HaloGamez
HaloGamez - 30.07.2021 04:35

for me it is saying "discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: module 'discord' has no attribute 'embed'"

Ответить
Prime
Prime - 21.07.2021 22:20

Do i need to python install anything?

Ответить
MrBigJuicyGrape
MrBigJuicyGrape - 03.07.2021 05:34

client.remove_command("help") thank me later

Ответить
27 Omkar Mahindrakar
27 Omkar Mahindrakar - 02.07.2021 20:45

Loved your channel

Ответить
Daily Dose of Python
Daily Dose of Python - 22.06.2021 23:46

Op videos, but can u provide code please ;)

Ответить