atuttle / zoidbox

An IRC bot that (attempts to) bring the knowledge and wit of @boyzoid to ##coldfusion on freenode
3 stars 6 forks source link

allow all commands to work from a private message #13

Closed ryanguill closed 9 years ago

ryanguill commented 9 years ago

change from message# to message,

 if (to === bot.botName) {
    //they are talking to us in a private message, set to to be from
    to = from;
}