You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's a matter of timing. The say method is called before the bot is connected or joined the channel. As there is no "connected" event, I think you should use the join event, and, only when the bot joined the channel, try to send the message.
Client.addListener("join#ysitd",function(nick,message){if(nick==config.botName){Client.say("#ysitd","hello");// No more error}});
node-irc version 0.3.12
Stack trace: http://pastebin.com/VhsiiEZ8
My code: http://pastebin.com/8qZzBnag
Any solution?
The text was updated successfully, but these errors were encountered: