diff --git a/General.py b/General.py index 92cba0e..628e199 100644 --- a/General.py +++ b/General.py @@ -123,13 +123,3 @@ class General(commands.Cog): msg = 'Stemmen en nomineren kan hier: {}\n'.format(self.muzak_url) msg += '*Er zijn al {} nummers genomineerd*\n'.format(data['stemCount']) yield from ctx.channel.send(msg) - - @commands.command(pass_context=True, hidden=True) - @asyncio.coroutine - def reboot(self, ctx, password=""): - """ Reboot.. """ - if password == os.getenv("STROOP_RESET_PASSWORD"): - yield from ctx.channel.send("Rebooting.. brb!") - os.execv(sys.executable, ['python3'] + sys.argv) - else: - yield from ctx.channel.send(ctx.author.mention + " What's the magic word?")