From 34d90ac8bcba1d2ff03a56bfea5340a88b401b2d Mon Sep 17 00:00:00 2001 From: Sleepingpirates <32914211+Sleepingpirates@users.noreply.github.com> Date: Wed, 10 Jun 2020 13:42:59 -0400 Subject: [PATCH] Update Invitarr.py --- Invitarr.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Invitarr.py b/Invitarr.py index 17c69e7..3398375 100644 --- a/Invitarr.py +++ b/Invitarr.py @@ -120,16 +120,5 @@ class MyClient(discord.Client): else: message.channel.send('Error Check Logs! {0.author.mention}'.format(message)) - if message.content.startswith('-dbadd'): - mgs = message.content.replace('-dbadd ','') - try: - mgs = mgs.split(' ') - email = mgs[0] - username = mgs[1].replace('@', '').split('#')[0] - db.save_user(username, email) - await message.channel.send('The user {} has been added to db!'.format(mgs[1])) - except: - print("Cannot add this user to db.") - client = MyClient() client.run(Discord_bot_token)