From 5c0fcf96b319d6499c46f71139a6eadc876c467b Mon Sep 17 00:00:00 2001 From: Timo Ley Date: Fri, 26 Jun 2020 21:13:22 +0200 Subject: [PATCH] Bot Update --- Bot/bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Bot/bot.py b/Bot/bot.py index 2705239..df9c48a 100644 --- a/Bot/bot.py +++ b/Bot/bot.py @@ -18,7 +18,7 @@ async def on_ready(): async def register(ctx): if not ctx.guild.id in allowedDiscordServer: return - name = ctx.author.name + name = str(ctx.author) token = md5(str(ctx.author.id).encode()).hexdigest() user = bot.get_user(ctx.author.id) @@ -30,6 +30,6 @@ async def register(ctx): db.commit() db.close() - await user.send("Your Token for Jensmemes is " + token) + await user.send("Your Token for Jensmemes is " + token + "\n You can now use https://jensmemes.tilera.xyz/ !") -bot.run(token, bot=botAccount)#start the bot with the options in config.py \ No newline at end of file +bot.run(token, bot=botAccount)#start the bot with the options in config.py