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:
parent
9f1c060562
commit
9db8107b7e
1 changed files with 6 additions and 0 deletions
|
@ -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()}"],
|
||||
|
|
Loading…
Reference in a new issue