diff --git a/ircbot.py b/ircbot.py index 88d4cd6..3a1a524 100644 --- a/ircbot.py +++ b/ircbot.py @@ -355,6 +355,11 @@ def main(): mfind(message, ["op me"], False) and name.lower() in adminnames ): op(name, chan) + elif mfind(message, ["ping"]): + sendmsg( + f"{name} pong", + chan, + ) elif mfind(message, ["amIAdmin"]): sendmsg( f"{name.lower()} in {adminnames} == {name.lower() in adminnames}",