Adding verify method for fun
This commit is contained in:
parent
1f21b1fe22
commit
4a60853896
@ -231,6 +231,13 @@ async def wallpaper(ctx):
|
|||||||
import wallpaper
|
import wallpaper
|
||||||
await ctx.send(embed=generate_embed(embed_url=wallpaper.fcking_homepage()))
|
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')
|
@bot.command(name='clap')
|
||||||
async def clap(ctx):
|
async def clap(ctx):
|
||||||
|
@ -159,13 +159,18 @@ def get_help_message(method):
|
|||||||
'returns a anime girl winking at you',
|
'returns a anime girl winking at you',
|
||||||
'\nUsage: !wink'
|
'\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]))
|
return "```css\n{}: {}\n```".format(method, ' '.join(supported_methods[method]))
|
||||||
|
|
||||||
def get_help_embed(bot):
|
def get_help_embed(bot):
|
||||||
categories = {
|
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'],
|
'util': ['corona', '8ball', 'decide', 'info', 'icon', 'wallpaper', 'stock', 'tts', 'issue'],
|
||||||
'users': ['help', 'invite', 'purge', 'roles', 'source'],
|
'users': ['help', 'invite', 'purge', 'roles', 'source'],
|
||||||
'admin': ['emoji', 'cleanup']
|
'admin': ['emoji', 'cleanup']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user