1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00

update errbot

This commit is contained in:
kev 2017-01-21 21:57:13 +08:00
parent 2a39f5165c
commit 246a890c7a
3 changed files with 19 additions and 7 deletions

View File

@ -8,6 +8,7 @@ MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apk add --no-cache ca-certificates \
build-base \
git \
libffi-dev \
openssl-dev \
python3 \

View File

@ -32,11 +32,22 @@ $ docker-compose up -d
master [8:50 PM] !tryme
errbot [8:50 PM] It works!
master [8:50 PM] !help
errbot [8:50 PM] All commands ...
master [8:51 PM] !help
errbot [8:51 PM] All commands ...
master [8:55 PM] !uptime
errbot [8:55 PM] I've been up for 6 minutes
master [8:52 PM] !whoami
errbot [8:52 PM]
┏━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ key ┃ value ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ person │ `@master`
├──────────┼─────────────┤
│ nick │ `master`
├──────────┼─────────────┤
│ fullname │ `Mr Robot`
├──────────┼─────────────┤
│ client │ `XXXXXXXXX`
└──────────┴─────────────┘
```
[1]: http://errbot.io

View File

@ -13,10 +13,10 @@ BOT_IDENTITY = {
CHATROOM_FN = 'Errbot'
BOT_DATA_DIR = r'/home/errbot/data'
BOT_DATA_DIR = '/home/errbot/data'
BOT_EXTRA_PLUGIN_DIR = '/home/errbot/plugins'
BOT_LOG_FILE = r'/home/errbot/errbot.log'
BOT_LOG_FILE = '/home/errbot/errbot.log'
BOT_LOG_LEVEL = logging.DEBUG
BOT_ADMINS = ('CHANGE ME', )
BOT_ADMINS = ('@master', )