Fixed the helptext for sex me, and added timestamp to embed when requesting with sex me

This commit is contained in:
poncethecat 2017-12-03 23:56:42 +00:00
parent f604fc5694
commit f4be12b635

View file

@ -20,8 +20,8 @@ class Sex(Cog):
Please, *please*, specify your account area in your reason. Please, *please*, specify your account area in your reason.
Not complying to this will be a denied request. Not complying to this will be a denied request.
- "normal" if you want our normal services, like GitLab and access to the main user container - "lite" if you want our normal services, like GitLab and Email
- "sexhouse" if you want access to other services, like Email and others - "sexhouse" if you want access to other services, like the Main User CT and Owncloud
thanks thanks
""" """
@ -43,11 +43,11 @@ class Sex(Cog):
em = discord.Embed(title=f'Sexhouse request', em = discord.Embed(title=f'Sexhouse request',
color=discord.Colour(0xf84a6e)) color=discord.Colour(0xf84a6e))
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))
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)
await ctx.send('done') await ctx.send('done')