Adding verify method for fun
This commit is contained in:
parent
dbfd40a8e5
commit
b4f775cc5e
@ -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):
|
||||
|
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user