From 811e383134d1afb41d88c4c185a56c2efd203b9e Mon Sep 17 00:00:00 2001 From: leo60228 Date: Sat, 23 Feb 2019 16:13:00 -0500 Subject: [PATCH] =?UTF-8?q?Use=20embed=20for=20ReSwitched=20Silver?= =?UTF-8?q?=E2=84=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cogs/meme.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cogs/meme.py b/cogs/meme.py index 8837a10..d47814b 100644 --- a/cogs/meme.py +++ b/cogs/meme.py @@ -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)