aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 19:24:36 +0300
committerGravatar ks129 <[email protected]>2020-04-03 19:24:36 +0300
commit2fe4149e7728db3c4fc7989caa098e0f9d76e093 (patch)
treeab1a75bdd95e737fadcfd7d2565c77bad05b90cc
parent(Site, discord.py 1.3.x Migrations): Replaced `help` command getting with `ct... (diff)
(Snekbox, discord.py 1.3.x Migrations): Replaced `help` command getting with `ctx.send_help`.
-rw-r--r--bot/cogs/snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/snekbox.py b/bot/cogs/snekbox.py
index 4ec08886c..99c1a7278 100644
--- a/bot/cogs/snekbox.py
+++ b/bot/cogs/snekbox.py
@@ -285,7 +285,7 @@ class Snekbox(Cog):
return
if not code: # None or empty string
- await ctx.invoke(self.bot.get_command("help"), "eval")
+ await ctx.send_help("eval")
return
log.info(f"Received code from {ctx.author} for evaluation:\n{code}")