Adding wasted overlay to the bot

This commit is contained in:
Luke Robles 2021-04-01 10:30:39 -07:00
parent 32cec7c2a4
commit d8c23f2e35
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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'],