node-wechat-terminal icon indicating copy to clipboard operation
node-wechat-terminal copied to clipboard

Option to disable notifications?

Open sideshowbarker opened this issue 6 years ago • 3 comments

It would be good to have an option to disable notifications.

Where in the source should I look for the code that generates notifications?

(For now, I could just hack on that code to disable all notifications, then reinstall.)

sideshowbarker avatar Apr 29 '19 05:04 sideshowbarker

https://github.com/goorockey/node-wechat-terminal/blob/7c27eda0cd12530f02baaa8db63cb32a35d9a927/cli.js#L27

goorockey avatar Apr 29 '19 06:04 goorockey

Feel free to have a pull request for that. :)

goorockey avatar Apr 29 '19 06:04 goorockey

node-wechat-terminal/cli.js

Line 27 in 7c27eda

wechat.on(WechatClient.EVENTS.MESSAGE, (data) => {

Thanks!

Feel free to have a pull request for that. :)

Cheers — will make time to write one up~

sideshowbarker avatar Apr 29 '19 07:04 sideshowbarker