forked from IPD/Foxtrot
restart command + start script
This commit is contained in:
parent
0515773f68
commit
cd9b99fe1d
2 changed files with 9 additions and 0 deletions
5
bot.py
5
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):
|
||||
|
|
4
start
Executable file
4
start
Executable file
|
@ -0,0 +1,4 @@
|
|||
while [ true ]
|
||||
do
|
||||
python3 bot.py
|
||||
done
|
Loading…
Reference in a new issue