Adding verify method for fun

This commit is contained in:
Luke Robles 2020-09-01 22:27:21 -07:00
parent dbfd40a8e5
commit b4f775cc5e
No known key found for this signature in database
GPG Key ID: D70F99D67F488AF9
2 changed files with 13 additions and 1 deletions

View File

@ -231,6 +231,13 @@ async def wallpaper(ctx):
import wallpaper
await ctx.send(embed=generate_embed(embed_url=wallpaper.fcking_homepage()))
@bot.command(name='verify')
async def verify(ctx):
message = list(await ctx.message.channel.history(limit=2).flatten())[-1]
emoji = discord.utils.get(ctx.message.guild.emojis, name='verified')
if emoji:
await message.add_reaction(emoji)
@bot.command(name='clap')
async def clap(ctx):

View File

@ -159,13 +159,18 @@ def get_help_message(method):
'returns a anime girl winking at you',
'\nUsage: !wink'
],
'verify': [
'Adds the twitter blue check mark to the previous message\n',
'\nLiterally thats all it does\n'
'\nUsage: !verify'
],
}
return "```css\n{}: {}\n```".format(method, ' '.join(supported_methods[method]))
def get_help_embed(bot):
categories = {
'fun': ['ffxiv', 'clap', 'redpanda', 'birb', 'youtube', 'dog', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'quake', 'wink',],
'fun': ['ffxiv', 'clap', 'redpanda', 'birb', 'youtube', 'dog', 'excuse', 'greentext', 'lewd', 'message', 'meme', 'homepage', 'pout', 'roll', 'smug', 'quake', 'wink', 'verify'],
'util': ['corona', '8ball', 'decide', 'info', 'icon', 'wallpaper', 'stock', 'tts', 'issue'],
'users': ['help', 'invite', 'purge', 'roles', 'source'],
'admin': ['emoji', 'cleanup']