Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Test wechaty basic functions #60

Closed
19 of 23 tasks
lijiarui opened this issue Jun 13, 2018 · 4 comments
Closed
19 of 23 tasks

Test wechaty basic functions #60

lijiarui opened this issue Jun 13, 2018 · 4 comments

Comments

@lijiarui
Copy link
Member Author

lijiarui commented Jun 14, 2018

  • add quit-bot to room-bot

  • add the folloiwng to rom-bot

if (dingRoom.has(sender)) {
            /**
             * speaker is already in room
             */
            log.info('Bot', 'onMessage: sender has already in dingRoom')
            dingRoom.say('no need to ding again, because you are already in ding room', sender)
            // sendMessage({
            //   content: 'no need to ding again, because you are already in ding room'
            //   , to: sender
            // })

          } else {

@huan
Copy link
Member

huan commented Jun 14, 2018

- if (dingRoom.has(sender)) {
+ if (await dingRoom.has(sender)) {

@lijiarui
Copy link
Member Author

done

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants