Use embed for ReSwitched Silver™

This commit is contained in:
leo60228 2019-02-23 16:13:00 -05:00
parent db9cb40b77
commit 811e383134
No known key found for this signature in database
GPG key ID: D1C9F54D945B7296

View file

@ -55,9 +55,12 @@ class Meme:
"reswitchedsilv3r"])
async def silver(self, ctx, user: discord.Member):
"""Gives a user ReSwitched Silver™"""
await ctx.send(f"Here's your ReSwitched Silver™, {user.mention}!")
await ctx.send("https://cdn.discordapp.com/emojis/"
"548623626916724747.png?v=1")
embed = discord.Embed(title="ReSwitched Silver!",
description=f"Here's your ReSwitched Silver™,"
f"{user.mention}!")
embed.set_thumbnail(url="https://cdn.discordapp.com/emojis/"
"548623626916724747.png?v=1")
await ctx.send(embed=embed)
@commands.check(check_if_staff_or_ot)
@commands.command(hidden=True)