Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CTCP capabilities to the bot #14

Open
veiset opened this issue Mar 31, 2012 · 2 comments
Open

Add CTCP capabilities to the bot #14

veiset opened this issue Mar 31, 2012 · 2 comments

Comments

@veiset
Copy link
Owner

veiset commented Mar 31, 2012

Send and listen to CTCP events.

04:03:26 wx | def ctcp(self, target, ctcp, params):
04:03:26 wx | self.connection.irc.send('PRIVMSG \001%s%s\001' % (target, ctcp and (" " + params) or ""))
04:03:44 wx | added that to communication (untested) but i think that should allow to ctcp someone
04:04:02 wx | according to the RFC's and a quick look at irclib

wx | http://www.irchelp.org/irchelp/rfc/ctcpspec.html

@dubux
Copy link

dubux commented Apr 10, 2012

I have completed this, will pull when I boot to linux.

@veiset
Copy link
Owner Author

veiset commented Apr 10, 2012

Very good. Send a pull request and I'll quickly review the patch before accepting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants