支持wework企业微信机器人

This commit is contained in:
chenzhenkun
2023-08-30 20:49:00 +08:00
parent 827e8eddf8
commit 7c6ed9944e
8 changed files with 524 additions and 5 deletions

17
channel/wework/run.py Normal file
View File

@@ -0,0 +1,17 @@
import os
import time
os.environ['ntwork_LOG'] = "ERROR"
import ntwork
wework = ntwork.WeWork()
def forever():
try:
while True:
time.sleep(0.1)
except KeyboardInterrupt:
ntwork.exit_()
os._exit(0)