aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 09:07:49 +0300
committerGravatar ks129 <[email protected]>2020-04-03 09:07:49 +0300
commite6455deb5c81efd247cad765fc4edda1ead1fb65 (patch)
tree14d2f03cc3f0dd1c253bce95ce6770db2e252f4d
parent(Tags, discord.py 1.3.x Migration): Replaced with direct function call. (diff)
(Bot Cog, discord.py 1.3.x Migration): Replaced `ctx.invoke` with `ctx.send_help`.
-rw-r--r--bot/cogs/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index e897b30ff..963dc4926 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -49,7 +49,7 @@ class BotCog(Cog, name="Bot"):
@with_role(Roles.verified)
async def botinfo_group(self, ctx: Context) -> None:
"""Bot informational commands."""
- await ctx.invoke(self.bot.get_command("help"), "bot")
+ await ctx.send_help("bot")
@botinfo_group.command(name='about', aliases=('info',), hidden=True)
@with_role(Roles.verified)