-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The MessageAwaiter currently added a global Wechaty interface waitForMessage() which polluted the global Wechaty environment.
plugin-contrib/src/contrib/message-awaiter.ts
Lines 21 to 27 in f1d08c7
| declare module 'wechaty' { | |
| class Wechaty { | |
| waitForMessage(args: MessageAwaiterArgs): Promise<Message> | |
| } | |
| } |
Need to remove the above code by refactoring this plugin. Maybe it will be changed to a helper function.
CC: @ssine
Related to PR
ssine
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working