forked from GitHub/dbot
set a small timeout
This commit is contained in:
parent
33923aee8b
commit
417cc7b5f8
@ -3,7 +3,9 @@ var april = function(dbot) {
|
||||
var match = event.message.match(/^i'm ([^ ]+)$/i);
|
||||
if(match && event.channel == '#april') {
|
||||
dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[1]);
|
||||
event.reply('Hi ' + match[1] + ', I\'m tripbot!');
|
||||
setTimeout(function() {
|
||||
event.reply('Hi ' + match[1] + ', I\'m tripbot!');
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
this.on = 'PRIVMSG';
|
||||
|
Loading…
Reference in New Issue
Block a user