From f4be12b635e5fa4e21c41ab95c455b117e038bba Mon Sep 17 00:00:00 2001 From: poncethecat Date: Sun, 3 Dec 2017 23:56:42 +0000 Subject: [PATCH] Fixed the helptext for `sex me`, and added timestamp to embed when requesting with `sex me` --- bot/ext/sex.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bot/ext/sex.py b/bot/ext/sex.py index 65bef56..1befd50 100644 --- a/bot/ext/sex.py +++ b/bot/ext/sex.py @@ -20,8 +20,8 @@ class Sex(Cog): Please, *please*, specify your account area in your reason. 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 - - "sexhouse" if you want access to other services, like Email and others + - "lite" if you want our normal services, like GitLab and Email + - "sexhouse" if you want access to other services, like the Main User CT and Owncloud thanks """ @@ -43,11 +43,11 @@ class Sex(Cog): em = discord.Embed(title=f'Sexhouse request', color=discord.Colour(0xf84a6e)) - 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='generated password', + 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)) + em.add_field(name='Generated Password', value=base64.b64encode(os.urandom(100))[:16].decode()) await chan.send(embed=em) await ctx.send('done')