Implement !botlist (#3)

Co-authored-by: Firepup650 <firepyp650@gmail.com>
Reviewed-on: https://git.amcforum.wiki/Firepup650/fire-ircbot/pulls/3
Reviewed-by: Firepup650 <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 02:15:14 +00:00 committed by Firepup650
parent 9f1c060562
commit 9db8107b7e

View file

@ -313,6 +313,12 @@ def main():
continue
else:
channels[chan] += 1
if mfind(
message.lower(),
["!botlist"],
False,
):
sendmsg(f"Hi! I'm FireBot (https://git.amcforum.wiki/Firepup650/fire-ircbot)! My admins are {adminnames}.", chan)
if mfind(
message.lower(),
[f"hi {botnick.lower()}", f"hello {botnick.lower()}"],