diff --git a/bot.py b/bot.py index 277e084..80b6f31 100755 --- a/bot.py +++ b/bot.py @@ -76,6 +76,11 @@ async def koala(ctx): await ctx.send(json["fact"]) await ctx.send(json["image"]) +@bot.command(hidden=True) +@commands.check(is_ginlang) +async def restart(ctx): + await ctx.send("shutting down. beep boop.") + await exit() @bot.command(brief="bin eaters") async def raccoon(ctx): diff --git a/start b/start new file mode 100755 index 0000000..cdfbf60 --- /dev/null +++ b/start @@ -0,0 +1,4 @@ +while [ true ] +do + python3 bot.py +done