diff options
| author | 2018-02-09 10:48:25 +0100 | |
|---|---|---|
| committer | 2018-02-09 10:48:25 +0100 | |
| commit | 40cc8678b9bf0de6e2b06fbf030d5c9aa3c2ea4c (patch) | |
| tree | e901f5560379bb3478c8e85b7b6f9bf9a7b7eaa0 | |
| parent | Fix lemon's monkey-patching (diff) | |
changed the Bot.info_wrapper() to be async. all commands must be coroutines.
| -rw-r--r-- | bot/cogs/bot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py index 8e29b0edf..3a3213ebd 100644 --- a/bot/cogs/bot.py +++ b/bot/cogs/bot.py @@ -52,12 +52,12 @@ class Bot: await ctx.send(embed=embed) @command(name="bot.info()", aliases=["bot.info", "bot.about", "bot.about()"]) - def info_wrapper(self, ctx: Context): + async def info_wrapper(self, ctx: Context): """ Get information about the bot """ - return self.info(ctx) + await self.info(ctx) def setup(bot): |