Closed jaraco closed 8 years ago
Realised that I can just add global handlers for both events to a single function
Original comment by: Lizzy Trickster
I don't believe there is. Instead, a method is called if it matches the specific message type. I imagine a client could easily alias a single method with two names. I.e. on_privmsg = on_pubmsg
or similar.
Original comment by: Jason R. Coombs
Hah. Just saw your second message. Glad you found a solution.
Original comment by: Jason R. Coombs
Is there an event (or a function that gets called) that gets triggered on both public and private message? something like on_msg() maybe?