Adding owo function because god hates us

This commit is contained in:
Luke Robles 2021-09-03 10:50:24 -07:00
parent 4148f816e3
commit 14dcefc7c5
3 changed files with 15 additions and 13 deletions

View File

@ -124,10 +124,12 @@ async def roll(ctx):
import dice import dice
await ctx.send(embed=dice.parse_message(ctx.message.content)) await ctx.send(embed=dice.parse_message(ctx.message.content))
# @bot.command(name='quake') @bot.command(name='owo')
# async def quake(ctx): async def owo(ctx):
# import quake from TextToOwO.owo import text_to_owo
# await ctx.send(embed=quake.parse_message(ctx.message)) await ctx.send(text_to_owo(
' '.join(ctx.message.content.split()[1:]))
)
@bot.command(name='excuse') @bot.command(name='excuse')
async def excuse(ctx): async def excuse(ctx):
@ -168,9 +170,8 @@ async def avatar(ctx):
profile = ctx.message.mentions profile = ctx.message.mentions
# Code stolen from this reddit post # Code stolen from this reddit post
# https://www.reddit.com/r/discordapp/comments/74bb4z/retrieve_a_mentioned_users_avatar_using_discordpy
for user in profile: for user in profile:
avatar_url = str(user.avatar_url).replace('.webp', '.png') avatar_url = user.avatar_url_as(static_format='png')
await ctx.send( await ctx.send(
embed=generate_embed( embed=generate_embed(
embed_title="{}#{}".format(user.name, user.discriminator), embed_title="{}#{}".format(user.name, user.discriminator),

View File

@ -157,14 +157,14 @@ def get_help_message(method):
' Note this picture only changes once a day.', ' Note this picture only changes once a day.',
'\nUsage: !homepage' '\nUsage: !homepage'
], ],
'owo': [
'Returns some fucky wucky text\n',
'Usage: !owo what the fuck did you just fucking say about me you little shit?'
],
'pout': [ 'pout': [
'Returns the URL for an anime girl pouting you filthy weeb\n', 'Returns the URL for an anime girl pouting you filthy weeb\n',
'Usage: !pout' 'Usage: !pout'
], ],
# 'quake': [
# 'Returns player stats for a quake champions account\n'
# 'Usage: !quake <player name>'
# ],
'rat': [ 'rat': [
'Returns a random rat photo', 'Returns a random rat photo',
'\nUsage: !rat' '\nUsage: !rat'
@ -221,10 +221,10 @@ def get_help_message(method):
def get_help_embed(bot): def get_help_embed(bot):
categories = { categories = {
'fun': ['bf5', 'ffxiv', 'clap', 'youtube', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'wink', 'verify', 'horny', 'wasted', 'simp', 'trackdays'], 'fun': ['bf5', 'ffxiv', 'clap', 'youtube', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'owo', 'wink', 'verify', 'horny', 'wasted', 'simp', 'trackdays'],
'util': ['ask', 'corona', 'emoji', '8ball', 'decide', 'info', 'icon', 'wallpaper', 'stock', 'tts', 'issue'], 'util': ['ask', 'corona', 'emoji', '8ball', 'decide', 'info', 'icon', 'wallpaper', 'stock', 'tts', 'issue'],
'users': ['help', 'invite', 'purge', 'roles', 'source'], 'users': ['help', 'invite', 'purge', 'roles', 'source'],
'pictures of animals': ['birb', 'redpanda,' 'dale', 'dog', 'rat', 'koala', 'panda', 'raccoon', 'fox', 'cat', 'kangaroo'], 'pictures of animals': ['birb', 'redpanda', 'dale', 'dog', 'rat', 'koala', 'panda', 'raccoon', 'fox', 'cat', 'kangaroo'],
'admin': ['cleanup'] 'admin': ['cleanup']
} }

View File

@ -4,5 +4,6 @@ gTTS
lxml lxml
pandas pandas
requests requests
TextToOwO
wikipedia wikipedia
wolframalpha wolframalpha