文件名称:flask-slackbot:flask_slackbot帮助您处理松弛的传出Webhook
文件大小:17KB
文件格式:ZIP
更新时间:2024-06-15 00:30:32
Python
flask_slackbot flask_slackbot是Flask扩展,可帮助您处理slack的传出Webhook。 安装 $ pip install flask_slackbot 用法 # coding=utf-8 from flask import Flask from flask_slackbot import SlackBot app = Flask ( __name__ ) app . config [ 'SLACK_TOKEN' ] = 'Your token here' # if you need to use slacker you should give a slack chat token app . config [ 'SLACK_CHAT_TOKEN' ] = 'Your slack chat token' app . config [ 'SLACK_CAL
【文件预览】:
flask-slackbot-master
----setup.py(1KB)
----.gitignore(717B)
----.travis.yml(217B)
----flask_slackbot()
--------__init__.py(126B)
--------base.py(3KB)
--------exceptions.py(190B)
----setup.cfg(96B)
----.gitmodules(108B)
----examples()
--------myapp.py(765B)
----README.rst(3KB)
----tests()
--------test_slackbot.py(1KB)
--------__init__.py(0B)
----docs()
--------Makefile(7KB)
--------index.rst(3KB)
--------conf.py(9KB)
--------make.bat(7KB)
--------_themes()
----tox.ini(135B)