From ca040a438cc12a823106eda5f82ab832d401dd02 Mon Sep 17 00:00:00 2001 From: "Zhuohuan LI (CARPE DIEM)" Date: Fri, 20 May 2016 22:59:55 +0800 Subject: [PATCH] fix #5 --- example/ding-dong-bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ding-dong-bot.js b/example/ding-dong-bot.js index 3c041bfb..c25a0197 100644 --- a/example/ding-dong-bot.js +++ b/example/ding-dong-bot.js @@ -55,6 +55,6 @@ bot.on('message', m => { } }) -bot.on('login' , () => npm.info('Bot', 'logined')) -bot.on('logout' , () => npm.info('Bot', 'logouted')) +bot.on('login' , () => log.info('Bot', 'logined')) +bot.on('logout' , () => log.info('Bot', 'logouted')) -- GitLab