Don't crash even with wrong exe
Add var "prefix" to support multiple slacks
Run external binary without environment variables
module "bqnbot" {
source = "git::https://git.sr.ht/~detegr/mkbot"
lang = "langname"
slack-oauth-token = "xoxb-YOUR-TOKEN-HERE"
}
Example App Manifest that can be used in Slack app management to bootstrap the bot:
{
"display_information": {
"name": "YourBot",
"description": "YourBot description",
"background_color": "#000000"
},
"features": {
"bot_user": {
"display_name": "YourBot",
"always_online": false
}
},
"oauth_config": {
"scopes": {
"bot": [
"app_mentions:read",
"chat:write"
]
}
},
"settings": {
"event_subscriptions": {
"request_url": "API gateway url",
"bot_events": [
"app_mention"
]
},
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": false
}
}