Forgot guildId in last commit
This commit is contained in:
parent
d48020c3b4
commit
1d6f9f0ea8
2
bot.py
2
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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user