aboutsummaryrefslogtreecommitdiff
path: root/cogs/admin.py
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-06-14 10:09:39 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-06-14 10:09:39 +0000
commitc87ade2e08b0117bd5a0db5611ce47287fbfb6de (patch)
tree6c541d011ed271ed8293dee2f7967b9af8644e83 /cogs/admin.py
parentb889beaa39fb60adb81c422fc9ccc30b3ebd8293 (diff)
downloadsteve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.gz
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.bz2
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.lz
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.xz
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.zst
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.zip
Better logging
Diffstat (limited to '')
-rw-r--r--cogs/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index 3cb7ff8..d722390 100644
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -24,7 +24,7 @@ class Admin(commands.Cog):
@commands.check(is_mod)
async def forceexit(self, ctx, password):
if password == "abort":
- ctx.message.delete()
+ await ctx.message.delete()
exit()
@commands.command()