diff --git a/app/bot.py b/app/bot.py index a220f86a..4abf762f 100755 --- a/app/bot.py +++ b/app/bot.py @@ -319,6 +319,14 @@ async def horny(ctx): await ctx.message.delete() await ctx.send(file=discord.File('/app/horny.jpg')) +@bot.command(name='wasted') +async def wasted(ctx): + response = requests.get("https://some-random-api.ml/canvas/wasted/?avatar=%s" % ctx.message.content.split()[-1]) + with open('/app/wasted.jpg', 'wb') as f: + f.write(response.content) + await ctx.message.delete() + await ctx.send(file=discord.File('/app/wasted.jpg')) + @bot.command(name='birb') async def birb(ctx): import animals diff --git a/app/help_methods.py b/app/help_methods.py index 7d415a06..cbff3e60 100644 --- a/app/help_methods.py +++ b/app/help_methods.py @@ -49,6 +49,10 @@ def get_help_message(method): 'Returns a license to be horny', 'Usage: !horny https://some.photo.jpg' ], + 'wasted': [ + 'Overlays the GTAV wasted text over the image you link', + 'Usage: !wasted https://some.photo.jpg' + ], 'cleanup': [ 'Admin use only. Deletes dragon bot\'s messages from the channel', 'Usage: !cleanup' @@ -194,7 +198,7 @@ def get_help_message(method): def get_help_embed(bot): categories = { - 'fun': ['ffxiv', 'clap', 'youtube', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'quake', 'wink', 'verify', 'horny', 'simp'], + 'fun': ['ffxiv', 'clap', 'youtube', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'quake', 'wink', 'verify', 'horny', 'wasted', 'simp'], 'util': ['ask', 'corona', 'emoji', '8ball', 'decide', 'info', 'icon', 'wallpaper', 'stock', 'tts', 'issue'], 'users': ['help', 'invite', 'purge', 'roles', 'source'], 'pictures of animals': ['birb', 'redpanda,' 'dale', 'dog', 'rat', 'koala', 'panda', 'raccoon', 'fox', 'cat', 'kangaroo'],