From 417cc7b5f822d1fdf7d6ea40eec57ddb4e320c0a Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 31 Mar 2015 18:32:18 +0000 Subject: [PATCH] set a small timeout --- modules/april/april.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/april/april.js b/modules/april/april.js index 3afa786..ce5725b 100644 --- a/modules/april/april.js +++ b/modules/april/april.js @@ -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';