From 407a592b687b30a364397ff94b4c81ebef6ae94c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Huan=20LI=20=28=E6=9D=8E=E5=8D=93=E6=A1=93=29?= Date: Thu, 27 Aug 2020 15:39:10 +0800 Subject: [PATCH] fix typo --- examples/ding-dong-bot.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/ding-dong-bot.ts b/examples/ding-dong-bot.ts index d726e85f..2ab75173 100644 --- a/examples/ding-dong-bot.ts +++ b/examples/ding-dong-bot.ts @@ -91,11 +91,10 @@ function onScan (qrcode: string, status: ScanStatus) { function onLogin (user: Contact) { console.info(`${user.name()} login`) - bot.say('Wechaty login').catch(console.error) } function onLogout (user: Contact) { - console.info(`${user.name()} logouted`) + console.info(`${user.name()} logged out`) } function onError (e: Error) { -- GitLab