thanks luna fix please

This commit is contained in:
poncethecat 2017-12-04 00:08:55 +00:00
parent f4be12b635
commit 07842e356e

View file

@ -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)