discord.py 2.0 fun
Invites will not work because discord-ext-menus needs to be updated in Red
This commit is contained in:
@@ -117,7 +117,7 @@ class Seen(commands.Cog):
|
||||
elif output[2] > 1:
|
||||
ts += "{} minutes ago".format(output[2])
|
||||
em = discord.Embed(colour=discord.Color.green())
|
||||
avatar = author.avatar_url or author.default_avatar_url
|
||||
avatar = author.display_avatar
|
||||
em.set_author(name="{} was seen {}".format(author.display_name, ts), icon_url=avatar)
|
||||
await ctx.send(embed=em)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user