Add a funny easter egg (#4)

```
08:57:34 PM <~Firepup> reboot fire
08:57:34 PM *** FireBot (firebot@firebot.firepi) has quit ("Rebooting")
08:57:38 PM <~Firepup> Can't hurt to be safe
08:57:49 PM * ~Firepup looks at h|thelounge
08:58:03 PM * h|thelounge looks at Firepup
08:58:09 PM *** FireBot (firebot@firebot.firepi) has joined the channel
08:58:19 PM <~Firepup> Bugs bugs bugs
08:58:34 PM * h|thelounge starts working on a PR
08:58:40 PM <~firepup|lounge> 👀
08:58:45 PM <~firepup|lounge> For?
08:58:58 PM <h|thelounge> A surprise :)
```

Reviewed-on: https://git.amcforum.wiki/Firepup650/fire-ircbot/pulls/4
Reviewed-by: Firepup Sixfifty <firepyp650@gmail.com>
Co-authored-by: 9pfs <9pfs@amcforum.wiki>
Co-committed-by: 9pfs <9pfs@amcforum.wiki>
This commit is contained in:
9pfs 2023-11-05 04:12:52 +00:00 committed by Firepup Sixfifty
parent b9f800c73b
commit d74def3acf

View file

@ -326,6 +326,12 @@ def main():
False,
):
sendmsg(f"Hi! I'm FireBot (https://git.amcforum.wiki/Firepup650/fire-ircbot)! My admins on this server are {adminnames}.", chan)
if mfind(
message.lower(),
["bugs bugs bugs"],
False,
):
sendmsg(f"\x01ACTION realizes {name} looks like a bug, and squashes {name}\x01", chan)
if mfind(
message.lower(),
[f"hi {botnick.lower()}", f"hello {botnick.lower()}"],