rmmh / skybot

Python IRC bot
https://github.com/rmmh/skybot/wiki
The Unlicense
247 stars 169 forks source link

Documentation: plugin hooks - Shared arguments #159

Open hailspuds opened 7 years ago

hailspuds commented 7 years ago

In the documentation it says:

channel -- string, the channel the message was sent on. Equal to nick if it's a private message.

But, from what I've found, the shared argument is actually "chan" to return the channel name.

This is with the regex hook, but I'm not sure if it's system wide?