Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayb104 authored Nov 20, 2020
1 parent 7a6e689 commit 0b7e2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def on_message(message):
role=message.author.roles
for i in role:
role_str.append(str(i.name))
cur.execute(r"SELECT channel, username, msgcnt, email, userid from DISCORDBOT where server=%s" % (str(message.guild)+str(message.guild.id)))
cur.execute(r'SELECT channel, username, msgcnt, email, userid from DISCORDBOT where server="%s"' % (str(message.guild)+str(message.guild.id)))
rows = cur.fetchall()
if(len(rows)):
flag=0
Expand Down

0 comments on commit 0b7e2ba

Please sign in to comment.