mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-25 01:09:46 +01:00
removed starting update message
This commit is contained in:
parent
6becf331e0
commit
6614accb1d
@ -26,7 +26,7 @@ class Admin(discord.Cog):
|
|||||||
|
|
||||||
@__dev_group.command(name='update')
|
@__dev_group.command(name='update')
|
||||||
async def __update_bot(self, ctx: discord.ApplicationContext) -> None:
|
async def __update_bot(self, ctx: discord.ApplicationContext) -> None:
|
||||||
await ctx.respond('starting update...')
|
await ctx.defer()
|
||||||
|
|
||||||
if 0 == await self.bot.execute_shell('update.sh'):
|
if 0 == await self.bot.execute_shell('update.sh'):
|
||||||
await ctx.respond('Updated bot from https://github.com/Specoolazius/mcserver-discordbot\n'
|
await ctx.respond('Updated bot from https://github.com/Specoolazius/mcserver-discordbot\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user