From db3ce301220604d537ea68a7fee10a20f4d50230 Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 9 Aug 2021 10:29:27 -0400 Subject: [PATCH] Add back embed description, now required by discord --- lseen/lseen.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lseen/lseen.py b/lseen/lseen.py index 2ddb0e1..f77fbca 100644 --- a/lseen/lseen.py +++ b/lseen/lseen.py @@ -77,11 +77,13 @@ class LastSeen(Cog): return last_seen = self.get_date_time(last_seen) - # embed = discord.Embed( - # description="{} was last seen at this date and time".format(member.display_name), - # timestamp=last_seen) + embed = discord.Embed( + description="{} was last seen at this date and time".format(member.display_name), + timestamp=last_seen, + color=await self.bot.get_embed_color(ctx), + ) - embed = discord.Embed(timestamp=last_seen, color=await self.bot.get_embed_color(ctx)) + # embed = discord.Embed(timestamp=last_seen, color=await self.bot.get_embed_color(ctx)) await ctx.send(embed=embed) @commands.Cog.listener()