From 2b71a024c9c67574b69d60d4ccf8c1450fd8caf3 Mon Sep 17 00:00:00 2001 From: Matt C Date: Wed, 22 Dec 2021 11:13:57 -0500 Subject: [PATCH] forgor to remove that --- cogs/debug.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/debug.py b/cogs/debug.py index 2597201..6e15e7a 100644 --- a/cogs/debug.py +++ b/cogs/debug.py @@ -37,7 +37,7 @@ class Debug(commands.Cog): @commands.command() async def restart(self, ctx): """Restart the bot (Mod. only)""" - if ctx.message.author.id in MOD_IDS: + if ctx.message.author.id == OWNER: await ctx.send(embed=infmsg("Sad", "Ok, restarting")) if ctx.voice_client is not None: await ctx.voice_client.disconnect() @@ -57,7 +57,7 @@ class Debug(commands.Cog): @commands.command() async def update(self, ctx): """Update bot from Git, and restart (Mod. only)""" - if ctx.message.author.id in MOD_IDS: + if ctx.message.author.id == OWNER: await ctx.send(embed=infmsg("Updater", "Updating...")) syslog.log( "Admin-Important", @@ -94,7 +94,7 @@ class Debug(commands.Cog): @commands.command() async def chbranch(self, ctx, *, branch): """Switch bot's upstream to a given branch (Mod. only)""" - if ctx.message.author.id in MOD_IDS: + if ctx.message.author.id == OWNER: await ctx.send(embed=infmsg("Updater", "Switching branch...")) syslog.log( "Admin-Important",