diff options
| author | 2020-04-03 19:24:36 +0300 | |
|---|---|---|
| committer | 2020-04-03 19:24:36 +0300 | |
| commit | 2fe4149e7728db3c4fc7989caa098e0f9d76e093 (patch) | |
| tree | ab1a75bdd95e737fadcfd7d2565c77bad05b90cc | |
| 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.py | 2 |
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}") |