aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 19:22:05 +0300
committerGravatar ks129 <[email protected]>2020-04-03 19:22:05 +0300
commita11c34d533e9483b96564f4db9488ca6c8bc8db7 (patch)
tree40e014f16ddc99c9d2655108b063153425fbbcce
parent(Reminders, discord.py 1.3.x Migrations): Replaced `ctx.invoke` with direct c... (diff)
(Site, discord.py 1.3.x Migrations): Replaced `help` command getting with `ctx.send_help`.
-rw-r--r--bot/cogs/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/site.py b/bot/cogs/site.py
index 853e29568..c17761a2b 100644
--- a/bot/cogs/site.py
+++ b/bot/cogs/site.py
@@ -21,7 +21,7 @@ class Site(Cog):
@group(name="site", aliases=("s",), invoke_without_command=True)
async def site_group(self, ctx: Context) -> None:
"""Commands for getting info about our website."""
- await ctx.invoke(self.bot.get_command("help"), "site")
+ await ctx.send_help("site")
@site_group.command(name="home", aliases=("about",))
async def site_main(self, ctx: Context) -> None: