ackwell / ninjabot

Ninjabot is not 'Just Another Bot'
10 stars 8 forks source link

Channel management plugin #101

Closed gnustomp closed 1 year ago

gnustomp commented 10 years ago

Some people may wish to use ninjabot to manage their channel. This plugin allows them to kick users and set modes on the channel with ninjabot as operator and without being operator themselves.

ackwell commented 10 years ago

You should change those irc_send calls to use the proper bot API. It's already got methods for all the various IRC commands.

Additionally, the message constants are there for a reason. Consider changing things such as msg.type != 1 to msg.type != msg.CHANNEL

gnustomp commented 10 years ago

Anything else that should change?

ackwell commented 10 years ago

Not that I noticed giving it a quick look-over. Just double check the API to make sure you aren't duping functionality.

On 26 September 2014 14:29, gnustomp notifications@github.com wrote:

Anything else that should change?

— Reply to this email directly or view it on GitHub https://github.com/ackwell/ninjabot/pull/101#issuecomment-56918188.