aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 19:27:54 +0300
committerGravatar ks129 <[email protected]>2020-04-03 19:27:54 +0300
commit538ef551be279ec1bed3465fcee711e3154fe234 (patch)
tree9a7ad69cadf1cb25564303fb2916fd3522c48f01
parent(Snekbox, discord.py 1.3.x Migrations): Replaced `help` command getting with ... (diff)
(Utils, discord.py 1.3.x Migrations): Replaced `help` command getting with `ctx.send_help`.
-rw-r--r--bot/cogs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py
index 3ed471bbf..0d34d4c71 100644
--- a/bot/cogs/utils.py
+++ b/bot/cogs/utils.py
@@ -58,7 +58,7 @@ class Utils(Cog):
if pep_number.isdigit():
pep_number = int(pep_number)
else:
- await ctx.invoke(self.bot.get_command("help"), "pep")
+ await ctx.send_help("pep")
return
# Handle PEP 0 directly because it's not in .rst or .txt so it can't be accessed like other PEPs.