Skip to content

Add CTCP capabilities to the bot #14

@veiset

Description

@veiset

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions