forgor to remove that

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

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

Loading…
Cancel
Save