mirror of
https://github.com/Anvilcraft/jensmemes
synced 2024-09-25 02:38:51 +02:00
Bot Update
This commit is contained in:
parent
89fdfe5930
commit
5c0fcf96b3
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
bot.run(token, bot=botAccount)#start the bot with the options in config.py
|
||||
|
|
Loading…
Reference in a new issue