Forgot guildId in last commit

This commit is contained in:
Marco Loewe 2023-11-14 10:45:58 +01:00
parent d48020c3b4
commit 1d6f9f0ea8

2
bot.py
View File

@ -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')