All Templates / Bots
Slack Bot Template in Python
A simple Slack bot programmed in Python
slack-bot-template
Alhwyn/slack-bot-template
Just deployed
Sign up or login and create your app.
https://api.slack.com/apps
app_mentions:read
channels:history
channels:read
chat:write
commands
im:history
mpim:history
Then Install the app to the Workspace.
Add the following secret variables for deployment.
Once your variable are added deply the template
Settings → Networking → Gen erate Domain
turn on Enable Events. Then in your request url paste your domain in this specific format.
Add the following scope in the Event Subscriptions below. Then Save changes.
Here are the requiremnets for your slack comand
here are the Command Names in the template.
Template Content
slack-bot-template
Alhwyn/slack-bot-templateSLACK_BOT_TOKEN
OAuth & Permission after adding scopes and installing app
SLACK_BOT_USER_ID
found in Basic information
SLACK_SIGNING_SECRET
found in basic information
Details
Alhwyn's Projects
Created on Aug 8, 2024
11 total projects
7 active projects
Python, Procfile
Bots
More templates in this category
Telegram JavaScript Bot
A template for Telegram bot in JavaScript using grammY
Agampreet Singh's Projects
241