pull/1/head
Matt C 3 years ago
parent 2b71a024c9
commit 1945b3199f

@ -114,7 +114,7 @@ async def on_command_error(ctx, error):
@bot.command()
async def removecog(ctx, name):
"""Un-load a cog that was loaded by default."""
if ctx.message.author.id in MOD_IDS:
if ctx.message.author.id == OWNER:
await ctx.send(embed=infmsg("Gotcha", "Ok, I'll try to disable `" + name + "`"))
try:
bot.remove_cog(name)
@ -131,7 +131,7 @@ async def removecog(ctx, name):
@bot.command()
async def getsyslog(ctx):
"""Get a copy of the system log"""
if ctx.message.author.id in MOD_IDS:
if ctx.message.author.id == OWNER:
log = syslog.getlog()
if len(log) > 1994:
text = paste(log)

Loading…
Cancel
Save