removed starting update message

This commit is contained in:
Specoolazius 2022-04-03 08:50:19 +02:00
parent 6becf331e0
commit 6614accb1d

View File

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