Add a response to Mr. Ware bot

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-07-20 08:27:09 +03:00
parent e84a0b9166
commit f8ba71f986
Signed by untrusted user who does not match committer: ari
GPG key ID: A50D5B4B599AF8A2

View file

@ -704,6 +704,9 @@ class MessageParser:
if user and user != CONFIG["bot-name"]:
chatlog_entry(str_msg, user)
if user == "Mr. Ware" and "@Emperor Palpatine is not the senate" in str_msg:
return guac_msg("chat", f"@{user} Yes he is >:(")
if (
len(content) > 3
or len(str_msg) > (100 + len(CONFIG["bot-name"]))