fixed bugs

This commit is contained in:
Sleepingpirates
2020-06-12 17:36:54 +00:00
committed by repl.it user
parent 96a5ea614d
commit fb2748bdfc

View File

@@ -119,7 +119,7 @@ class MyClient(discord.Client):
user_id = user_id.replace(i, '')
db.save_user(user_id, email)
await message.channel.send('The user has been added to db!')
await secure.send(email + ' ' + msg[1] + ' was added to plex')
await secure.send(email + ' ' + mgs[1] + ' was added to plex')
except:
await message.channel.send('Cannot add this user to db.')
print("Cannot add this user to db.")