thanks luna fix please
This commit is contained in:
parent
f4be12b635
commit
07842e356e
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@ class Sex(Cog):
|
||||||
em.add_field(name='Who', value=ctx.author.mention)
|
em.add_field(name='Who', value=ctx.author.mention)
|
||||||
em.add_field(name='Username', value=username)
|
em.add_field(name='Username', value=username)
|
||||||
em.add_field(name='Reason', value=reason)
|
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',
|
em.add_field(name='Generated Password',
|
||||||
value=base64.b64encode(os.urandom(100))[:16].decode())
|
value=base64.b64encode(os.urandom(100))[:16].decode())
|
||||||
await chan.send(embed=em)
|
await chan.send(embed=em)
|
||||||
|
|
Loading…
Reference in a new issue