aboutsummaryrefslogtreecommitdiff
path: root/cogs/admin.py
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-05-12 21:07:26 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-05-12 21:07:26 +0000
commitc59e677819055e5322898063332368b575088552 (patch)
treed0ef240a5beff246e18294cf1b42c1fb7f29cf74 /cogs/admin.py
parentefa99965c4390bca433999c6ff5c188a84b2dbe5 (diff)
downloadsteve-bot-c59e677819055e5322898063332368b575088552.tar
steve-bot-c59e677819055e5322898063332368b575088552.tar.gz
steve-bot-c59e677819055e5322898063332368b575088552.tar.bz2
steve-bot-c59e677819055e5322898063332368b575088552.tar.lz
steve-bot-c59e677819055e5322898063332368b575088552.tar.xz
steve-bot-c59e677819055e5322898063332368b575088552.tar.zst
steve-bot-c59e677819055e5322898063332368b575088552.zip
Cleanup
Diffstat (limited to 'cogs/admin.py')
-rwxr-xr-xcogs/admin.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index 6cbaf52..cf9d8a5 100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -10,9 +10,6 @@ class Admin(commands.Cog):
async def is_mod(ctx):
return ctx.author.guild_permissions.manage_channels
- async def is_host(ctx):
- return ctx.author.id == 99457716614885376
-
@commands.command(aliases=['addcommand', 'newcommand'])
@commands.check(is_mod)
async def setcommand(self, ctx, command, *, message):
@@ -42,7 +39,7 @@ class Admin(commands.Cog):
except commands.ExtensionNotFound:
await ctx.send(f'The extension {ext} doesn\'t exist.')
except commands.ExtensionNotLoaded:
- await ctx.send(f'The extension {ext} is not loaded! (use /load)')
+ await ctx.send(f'The extension {ext} is not loaded! (use {ctx.prefix}load)')
except commands.NoEntryPointError:
await ctx.send(f'The extension {ext} doesn\'t have an entry point (try adding the setup function) ')
except commands.ExtensionFailed: