HUB
Sign inSign up
slack-bot logo

vensder/slack-bot

By vensder

•Updated about 6 years ago

Python Slack Bot

Image
0

355

vensder/slack-bot repository overview

⁠Python Slack Bot

This Slack bot has two plugins. One of them helps to check the SSL certificate expiring for any accessible domain. Just send the message in the channel where the bot is invited like that:

@botname !ssl date google.com

Another plugin helps you to use IP calculator to check the IP addresses range, and so on. Just send the message to the bot like this:

@botname !ipcalc 10.0.0.0/24

⁠Build image locally

docker build -t slackbot .

Pass slack token via Environment varialbe, using env file for docker container:

cat env.list
SLACK_TOKEN=xoxb-100000000001-1111111111111-INSERTTOKENHERE

docker run -d --env-file ./env.list slackbot

⁠Use prebuilt docker hub image

docker run -d --env-file ./env.list --add-host example.com:10.0.0.1 vensder/slack-bot 

Tag summary

Content type

Image

Digest

Size

55.8 MB

Last updated

about 6 years ago

docker pull vensder/slack-bot