Skip to content
Snippets Groups Projects
Unverified Commit 6e19b557 authored by Dennis Klein's avatar Dennis Klein Committed by GitHub
Browse files

Merge pull request #12 from Milchdealer/hotfix/self_ignoring_bot

Fix semantical error with comparing a str to a List[str]
parents 11af7e53 c7706bea
Branches
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ async def event_message(message):
else:
# make sure the bot ignores itself and nightbot
if message.author.name.lower() == [NICK.lower(), 'nightbot']:
if message.author.name.lower() in [NICK.lower(), 'nightbot']:
return
# check if message is a vote
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment