From 4ca6aa2df00c10a6d21c39f1bf8a9da5592ad57d Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Thu, 12 May 2022 15:58:21 -0700 Subject: [PATCH] fixing help --- app/bot.py | 0 app/cogs/server_utils.py | 6 +++--- app/help_methods.py | 2 +- app/stock.py | 0 helm/values.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 app/bot.py mode change 100644 => 100755 app/stock.py diff --git a/app/bot.py b/app/bot.py old mode 100644 new mode 100755 diff --git a/app/cogs/server_utils.py b/app/cogs/server_utils.py index f8f10c48..049312dc 100644 --- a/app/cogs/server_utils.py +++ b/app/cogs/server_utils.py @@ -211,14 +211,14 @@ class ServerUtils(commands.Cog): await ctx.reply(":x: Error: %s :x:" % e) @commands.command(name="help") - async def help(self, ctx: commands.Context, method): + async def help(self, ctx: commands.Context, method=None): import help_methods - if len(ctx.message.content.split()) > 1: + if method: await ctx.reply(help_methods.parse_message(method)) else: - await ctx.reply(embed=help_methods.get_help_embed(bot)) + await ctx.reply(embed=help_methods.get_help_embed(self.bot)) def setup(bot): diff --git a/app/help_methods.py b/app/help_methods.py index 23ef76aa..bba3e581 100755 --- a/app/help_methods.py +++ b/app/help_methods.py @@ -252,7 +252,7 @@ def get_help_embed(bot): description = "\nBelow you can see all the commands I know.\n\n**Have a nice day!**" embed = discord.Embed(description=description, color=0x428BCA, type="rich") embed.set_author( - name="Hello! I'm {}".format(bot.user.name), icon_url=bot.user.default_avatar_url + name="Hello! I'm {}".format(bot.user.name), icon_url=bot.user.avatar ) for category in categories: diff --git a/app/stock.py b/app/stock.py old mode 100644 new mode 100755 diff --git a/helm/values.yaml b/helm/values.yaml index 4cee436d..1eab3459 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: # Overrides the image tag whose default is the chart appVersion. - tag: "193" + tag: "194" repository: ldooks/dragon-bot pullPolicy: IfNotPresent