From 07842e356e63b4a70b836348ed8d1616eabc020e Mon Sep 17 00:00:00 2001 From: poncethecat Date: Mon, 4 Dec 2017 00:08:55 +0000 Subject: [PATCH] thanks luna fix please --- bot/ext/sex.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/ext/sex.py b/bot/ext/sex.py index 1befd50..1a217b6 100644 --- a/bot/ext/sex.py +++ b/bot/ext/sex.py @@ -46,7 +46,8 @@ class Sex(Cog): em.add_field(name='Who', value=ctx.author.mention) em.add_field(name='Username', value=username) em.add_field(name='Reason', value=reason) - em.add_field(name='Timestamp', str(context.timestamp)) + #I have no idea why this didn't work because according to docs it should. pls fic thank. + #em.add_field(name='Timestamp', str(ctx.message.timestamp)) em.add_field(name='Generated Password', value=base64.b64encode(os.urandom(100))[:16].decode()) await chan.send(embed=em)