mmueller / supybot-git

A Git plugin for Supybot (a Python IRC bot)
45 stars 24 forks source link

Option request. #7

Closed w1sht0l1v3 closed 11 years ago

w1sht0l1v3 commented 11 years ago

Hi is it possible to add support for multiple channels for one repo?(example: channel = #chan1,#chan2,#chan3) If possible in such a way it would support multiple networks also(example: Network plugin loaded and the bot resides on 2 irc networks on different channels).

mmueller commented 11 years ago

Right now the plugin does support running on multiple networks, but it only looks at channel name to decide it a repository should be visible or not. (So #supybot on network1 and network2 would be treated the same.)

I'll see if there's a straightforward way to handle this better, and support multiple channels per repository.

As far as new commit notifications, would you expect them to show up on all three channels, or that the repository would have a "primary" channel for announcements?

w1sht0l1v3 commented 11 years ago

Well,it would be fine to post on all channels assigned to a repo,like cia.vc bot did.

example:

chan1 is on network 1

chan2 is on network 2

chan3 is on network 2

-cycle all channels and post notification in each.