A harmless slack bot that reminds you to post your daily status 🤖
If you like this project please consider giving it a ⭐ star ⭐. Thanks!
- Create a slack app
- Install the app to your workspace once to obtain your OAuth token. You need to store the bot token(
xoxb-...
) in your.env
file - Specify the OAuth scopes.
- List of OAuth Scopes
- chat.write - Enable the bot to send messages
- groups.history - View messages and other content in private channels
- groups.read - View basic information about private channels
- users.info - Gets information about a user.
- go 1.14
- Docker
.env
SLACK_TOKEN=YOUR_SLACK_TOEKN
CHANNEL_ID=G******X
EXCLUDE_USER_VALUES="{\"U******1\":\"x\",\"U******2\":\"x\"}"
.env
file should contain this 3 key
- SLACK_TOKEN - your OAuth token
- CHANNEL_ID - channel where you want to post the reminder message
- EXCLUDE_USER_VALUES - a map with
userId
as key andx
as value, while sending message bot will not mention those users.
- Clone this repository
- Add a
.env
file
go mod download
go build
./frodobot
docker build -t frodobot:1.0.0 .
docker container run -d --name frodobot frodobot:1.0.0