修改依赖

This commit is contained in:
神楽坂喵 2021-01-21 17:14:55 +08:00
parent 3048488dae
commit 4cf2099a7f
2 changed files with 1 additions and 15 deletions

14
app.py
View File

@ -15,18 +15,6 @@ app = App(
)
@app.event("app_mention")
def event_test(body, say, logger):
logger.info(body)
await say("What's up?")
@app.command("/hello-bolt-python")
def command(ack, body, respond):
await ack()
await respond(f"Hi <@{body['user_id']}>!")
@app.message("Heads Up!*")
def redirect(body, logger):
logger.info(body)
@ -36,7 +24,7 @@ def redirect(body, logger):
@app.message("")
def logall(body, logger):
logger.debug(body)
dingtalkbot.send_text(body)
dingtalkbot.send_text('测试'+body)
# 启动slack监听

View File

@ -1,4 +1,2 @@
DingtalkChatbot
slack-bolt
slack-sdk
aiohttp