WildPHP / irc-bot

A simple and modular PHP IRC bot
MIT License
84 stars 24 forks source link

Keep track of channels #11

Closed NanoSector closed 9 years ago

NanoSector commented 9 years ago

Possibly provide a ChannelManager of some sort. It should keep track of the channels the bot is in, and provide various methods to work with them.

TimTims commented 9 years ago

Well I messed that up with Assignee's xD

To get back to the issue, it would be very possible to leave the bot keep track of the channels. Like you said, I suggest a ChannelManager.

NanoSector commented 9 years ago

In the new bot a Channel Manager is added as a module which could take care of this.

@Amunak and I discussed about this yesterday and came up with listening to incoming JOIN commands from the server.

NanoSector commented 9 years ago

I think the current channel manager does this, but maybe not accurate enough. I should review the protocol and check what can trigger a channel join, or what always happens when a channel is joined.

NanoSector commented 9 years ago

Moving this to the ChannelManager repository.