From c7706bea3d5e3b52fa09dff669d9266fded257f6 Mon Sep 17 00:00:00 2001
From: milchdealer <franzj94@googlemail.com>
Date: Wed, 16 Sep 2020 20:46:36 +0200
Subject: [PATCH] Fix semantical error with comparing a str to a List[str]

---
 hausgeist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hausgeist.py b/hausgeist.py
index be20704..cd3c453 100644
--- a/hausgeist.py
+++ b/hausgeist.py
@@ -209,7 +209,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
-- 
GitLab