From 519d5df55e8664425da3943a180c8513c4f257bf Mon Sep 17 00:00:00 2001 From: Huan LI Date: Thu, 18 Jan 2018 22:38:07 +0800 Subject: [PATCH] follow new api --- example/tuling123-bot.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/tuling123-bot.ts b/example/tuling123-bot.ts index bcd9bcc3..ecf17ca5 100644 --- a/example/tuling123-bot.ts +++ b/example/tuling123-bot.ts @@ -93,9 +93,9 @@ bot } }) -bot.init() +bot.start() .catch(e => { - log.error('Bot', 'init() fail:' + e) - bot.quit() + log.error('Bot', 'start() fail:' + e) + bot.stop() process.exit(-1) }) -- GitLab