diff --git a/bot.py b/bot.py index ed8bbb0..bf02283 100644 --- a/bot.py +++ b/bot.py @@ -34,7 +34,7 @@ async def cool(ctx): cool_factor = round(random.uniform(0, 100), 2) await ctx.response.send_message(f'{ctx.author} is {cool_factor}% cool!') -@tree.command(name = 'update', description = 'Pulls the latest version from the repository', ) +@tree.command(name = 'update', description = 'Pulls the latest version from the repository', guild=discord.Object(id='745287426402156555')) @has_role(745295653651087381) async def update(ctx): subprocess.Popen('./update.sh')