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",