From dd55c56b8863916dbca131f63de470556ca8c793 Mon Sep 17 00:00:00 2001 From: Rafael Vargas Date: Thu, 30 Dec 2021 14:48:44 -0400 Subject: [PATCH] Adding new commands to help function --- vulkanbot/general/Control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vulkanbot/general/Control.py b/vulkanbot/general/Control.py index 3b61c2e..75116a9 100644 --- a/vulkanbot/general/Control.py +++ b/vulkanbot/general/Control.py @@ -10,7 +10,7 @@ class Control(commands.Cog): def __init__(self, bot): self.__bot = bot self.__comandos = { - 'MUSIC': ['this', 'resume', 'pause', 'loop', 'stop', 'skip', 'play', 'queue', 'clear'], + 'MUSIC': ['this', 'resume', 'pause', 'loop', 'stop', 'skip', 'play', 'queue', 'clear', 'np'], 'RANDOM': ['escolha', 'cara', 'random'], 'HELP': ['help'], 'OTHERS': ['cetus', 'frase'] @@ -27,13 +27,13 @@ class Control(commands.Cog): @commands.Cog.listener() async def on_ready(self): print(config.STARTUP_MESSAGE) - await self.__bot.change_presence(status=discord.Status.online, activity=discord.Game(name=f"Vulkan | type {config.BOT_PREFIX}help")) + await self.__bot.change_presence(status=discord.Status.online, activity=discord.Game(name=f"Vulkan | {config.BOT_PREFIX}help")) print(config.STARTUP_COMPLETE_MESSAGE) @commands.Cog.listener() async def on_command_error(self, ctx, error): if isinstance(error, MissingRequiredArgument): - await ctx.channel.send(f'Falta argumentos. Digite {config.BOT_PREFIX}help para ver os comandos') + await ctx.channel.send(f'Falta argumentos. Digite {config.BOT_PREFIX}help para ver todos os comandos\n\nOu tente {config.BOT_PREFIX}command help para mais informações') elif isinstance(error, CommandNotFound): await ctx.channel.send(f'O comando não existe') else: