Adding wink
This commit is contained in:
parent
33a324da26
commit
cfd5779cfb
@ -378,6 +378,13 @@ async def on_message(message):
|
||||
embed=generate_embed(embed_url=wallpaper.get_wall(message.content))
|
||||
)
|
||||
|
||||
if message.content.startswith('!wink'):
|
||||
await client.send_message(
|
||||
message.channel,
|
||||
embed=generate_embed(requests.get('https://some-random-api.ml/animu/wink').json()['link'])
|
||||
|
||||
)
|
||||
|
||||
|
||||
if message.content.startswith('!youtube'):
|
||||
query_string = parse.urlencode({'search_query': message.content.split()[1:]})
|
||||
|
@ -147,13 +147,17 @@ def get_help_message(method):
|
||||
'Searches youtube for the query string and returns the first result',
|
||||
'\nUsage: !youtube sick bmx tricks'
|
||||
],
|
||||
'wink': [
|
||||
'returns a anime girl winking at you',
|
||||
'\nUsage: !wink'
|
||||
],
|
||||
}
|
||||
|
||||
return "```css\n{}: {}\n```".format(method, ' '.join(supported_methods[method]))
|
||||
|
||||
def get_help_embed(client):
|
||||
categories = {
|
||||
'fun': ['clap', 'redanda', 'birb', 'youtube', 'dog', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'quake'],
|
||||
'fun': ['clap', 'redanda', 'birb', 'youtube', 'dog', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'quake', 'wink',],
|
||||
'util': ['8ball', 'decide', 'icon', 'wallpaper', 'weather', 'stock', 'tts', 'issue'],
|
||||
'users': ['help', 'invite', 'purge', 'roles', 'source', 'minecraft'],
|
||||
'admin': ['emoji', 'cleanup']
|
||||
|
Loading…
x
Reference in New Issue
Block a user