Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.whisper('message', function(user, message) {
- if(message === 'whisper') {
- setTimeout(function() {
- client.raw("PRIVMSG #gulsahky :/w " + user.username + "whisper test successful <3");
- }, 3000);
- }
- function init(client) {
- return client.connect()
- .then(function() {
- return client.on('message', messageReceived);
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement