From ae31406805840c48b040c6d0b8a3760b572e7158 Mon Sep 17 00:00:00 2001 From: Helixu Date: Mon, 22 Nov 2021 21:31:57 +0000 Subject: [PATCH] misc fixes --- bot.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/bot.py b/bot.py index 63fcae7..59b4899 100644 --- a/bot.py +++ b/bot.py @@ -93,11 +93,6 @@ async def raccoon(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.") - exit() @bot.command(hidden=True) @@ -158,14 +153,15 @@ xfnw#1113 (shitfest memes API) TFTWPhoenix#9240 (I dont know, hes cool I guess.) remi#9948 (also pretty cool ig) +Ecolipsy#0001 Foxtrot is open source! Find the code at """) @bot.command(brief="random meme") async def meme(ctx): async with aiohttp.ClientSession() as session: - async with session.get('https://shitfest.net/api/random.php') as resp: + async with session.get('https://api.shitfest.net/v2/random.php') as resp: json = await resp.json() - await ctx.send(json["url"]) + await ctx.send(json["mp4"]) @bot.command(brief='makes things gay')