Compare commits

..

No commits in common. "8ce21fad0ed0bcdaeb6965bed9184452f3ab5eb1" and "0515773f682daece956bfc6181fd893b280b2d72" have entirely different histories.

2 changed files with 2 additions and 17 deletions

15
bot.py Normal file → Executable file
View file

@ -22,9 +22,9 @@ def getAllUsers():
async def is_ginlang(ctx): async def is_ginlang(ctx):
""" """
are you ginlang or the other dudes? are you ginlang or the other dude?
""" """
if ctx.author.id in [287885666941927424, 894034804503351366, 296736767158255616, 831598877320413244]: if ctx.author.id in [287885666941927424, 894034804503351366]:
return True return True
else: else:
logchannel = await bot.fetch_channel(910622485916037150) logchannel = await bot.fetch_channel(910622485916037150)
@ -76,11 +76,6 @@ async def koala(ctx):
await ctx.send(json["fact"]) await ctx.send(json["fact"])
await ctx.send(json["image"]) 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") @bot.command(brief="bin eaters")
async def raccoon(ctx): async def raccoon(ctx):
@ -93,12 +88,6 @@ async def raccoon(ctx):
await ctx.send(json["fact"]) await ctx.send(json["fact"])
await ctx.send(json["image"]) await ctx.send(json["image"])
@bot.command(hidden=True)
@commands.check(is_ginlang)
async def restart(ctx):
await ctx.send("shutting down, beep boop.")
exit()
@bot.command(hidden=True) @bot.command(hidden=True)
@commands.check(is_ginlang) @commands.check(is_ginlang)

4
start
View file

@ -1,4 +0,0 @@
while [ true ]
do
python3 bot.py
done