Hubot change IRC channel topic -


i'd our hubot manage topic of irc channels. when have hubot send "/topic #channel new topic" text ends in channel.

i know can add listener irc topic changes (like irc-topic.coffee) with:

robot.adapter.bot.addlistener 'topic', (channel, topic) -> 

but there interface setting topic or way coerce hubot-irc adapter send raw irc command?

https://github.com/nandub/hubot-irc/blob/master/src/irc.coffee#l40

it looks setup listener , topic = "thing topic should be"


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -