UltrosBot / Ultros

Connecting communities, one squid at a time! Ultros is a multi-protocol chat bot written in Python, designed with both the user and developer in mind
http://ultros.io
Artistic License 2.0
23 stars 7 forks source link

Ban/kick functions #65

Closed rakiru closed 9 years ago

rakiru commented 9 years ago

Undo https://github.com/UltrosBot/Ultros/commit/7f820056e9e2487f49481a82d3053fdd8cc80ce9 from system/protocols/generic/protocol.py

ban/kick are channel-specific functions (as specified in the docstrings and implied by their parameters), so should not have been moved. Perhaps being renamed to channel_ban and channel_kick (with ban/kick pointing to them with a deprecation warning), then make global_ban and global_kick in Protocol.