Made Botty Case Insensitive

This commit is contained in:
BaerbelBox
2024-02-09 19:58:11 +01:00
parent 0c8ff9179b
commit 290bda4fce
6 changed files with 13 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ class IntroductionObserver(PrivMsgObserverPrototype):
return ".me - kann von registrierten Nutzern verwendet werden um eine Vorstellung zu speichern"
def update_on_priv_msg(self, data, connection: Connection):
msg = data["message"]
msg = data['messageCaseSensitive']
nick = data["nick"]
if not msg.startswith(".me") and not msg.startswith(".me-"):
return