Created
June 5, 2017 01:51
-
-
Save alairock/13f50bc8987ae0d8132df2bd44d927fc to your computer and use it in GitHub Desktop.
sirbot boilerplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git+git://github.com/pyslackers/sir-bot-a-lot.git@master | |
git+https://github.com/pyslackers/sirbot-slack.git@master | |
git+https://github.com/pyslackers/sirbot-plugins.git@master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sirbot: | |
port: 8080 | |
plugins: | |
- sirbot.plugins.sqlite | |
- sirbot.slack | |
slack: | |
priority: 20 | |
save: | |
messages: true | |
events: false | |
commands: true | |
actions: true | |
endpoints: | |
commands: "/commands" | |
actions: "/buttons" | |
sqlite: | |
priority: 80 | |
file: 'sirbot.sqlite' | |
logging: | |
version: 1 | |
formatters: | |
simple: | |
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s' | |
handlers: | |
console: | |
class: logging.StreamHandler | |
level: DEBUG | |
formatter: simple | |
stream: ext://sys.stdout | |
file: | |
class: logging.handlers.RotatingFileHandler | |
filename: sirbot.log | |
maxBytes: 5242880 | |
backupCount: 7 | |
level: WARNING | |
formatter: simple | |
loggers: | |
sirbot: | |
level: DEBUG | |
handlers: [file, console] | |
propagate: no | |
sirbot.plugins.sqlite: | |
level: WARNING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment