Update reboot command

This commit is contained in:
Dustin Pianalto 2019-12-23 23:36:12 -09:00
parent 8a3df5e399
commit b4ac406d7f

View File

@ -21,8 +21,7 @@ class Admin(commands.Cog):
with open(f'/mnt/{self.bot.SECRETS_BUCKET_NAME}/restart', 'w') as f: with open(f'/mnt/{self.bot.SECRETS_BUCKET_NAME}/restart', 'w') as f:
f.write(f'1\n{ctx.channel.id}') f.write(f'1\n{ctx.channel.id}')
admin_logger.info("Rebooting") admin_logger.info("Rebooting")
# noinspection PyProtectedMember await self.bot.close()
os._exit(1)
# TODO Fix view_code # TODO Fix view_code
@commands.command(hidden=True) @commands.command(hidden=True)