Adding owo function because god hates us

This commit is contained in:
ein 2021-09-03 10:50:24 -07:00
parent da3bb446d0
commit ac3cdc56c6
3 changed files with 15 additions and 13 deletions

View File

@ -124,10 +124,12 @@ async def roll(ctx):
import dice
await ctx.send(embed=dice.parse_message(ctx.message.content))
# @bot.command(name='quake')
# async def quake(ctx):
# import quake
# await ctx.send(embed=quake.parse_message(ctx.message))
@bot.command(name='owo')
async def owo(ctx):
from TextToOwO.owo import text_to_owo
await ctx.send(text_to_owo(
' '.join(ctx.message.content.split()[1:]))
)
@bot.command(name='excuse')
async def excuse(ctx):
@ -168,9 +170,8 @@ async def avatar(ctx):
profile = ctx.message.mentions
# 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:
avatar_url = str(user.avatar_url).replace('.webp', '.png')
avatar_url = user.avatar_url_as(static_format='png')
await ctx.send(
embed=generate_embed(
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.',
'\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': [
'Returns the URL for an anime girl pouting you filthy weeb\n',
'Usage: !pout'
],
# 'quake': [
# 'Returns player stats for a quake champions account\n'
# 'Usage: !quake <player name>'
# ],
'rat': [
'Returns a random rat photo',
'\nUsage: !rat'
@ -221,10 +221,10 @@ def get_help_message(method):
def get_help_embed(bot):
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'],
'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']
}

View File

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