aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-09 10:12:08 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-09 10:12:08 +0000
commitb209dbef92d5b71f2154fd1293714caba4e93793 (patch)
treee36d01d81fbd6aa14e14c3bb10ffabc8fa1596d2
parentRole checks should return False in a DM (diff)
Fix `bot.info()` wrapper
-rw-r--r--bot/cogs/bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index f24d345b1..afec2844a 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -51,13 +51,13 @@ class Bot:
await ctx.send(embed=embed)
- @command(name="bot.info()", aliases=["bot.info", "bot.about", "bot.about()"])
+ @command(name="bot.info()", aliases=["bot.info", "bot.about", "bot.about()", "info"])
async def info_wrapper(self, ctx: Context):
"""
Get information about the bot
"""
- await self.info(ctx)
+ await ctx.invoke(self.info)
def setup(bot):