From 1945b3199ff70dfe4123cd64bcc2031fe9ddb1c5 Mon Sep 17 00:00:00 2001 From: Matt C Date: Wed, 22 Dec 2021 11:15:36 -0500 Subject: [PATCH] more fix --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index b3f0ca3..760c4bd 100644 --- a/bot.py +++ b/bot.py @@ -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)