Prometheus is known for stealing fire from the gods and giving it to humanity.
Prometheus is a slack bot that allows community members to manage their own channels.
All actions work only if the user is a channel manager for public channels or a channel creator for private channels.
- Message deletion
- Nuke a thread (aka Threadripper)
- More soon:tm:
- Clone
- Create a Slack app from
slack.manifest.yaml. - Install/reinstall the app to your workspace so all scopes are granted.
- Create an app-level token with
connections:write(for Socket Mode) and put it inSLACK_APP_TOKEN. - Fill out the
.envfile (see.env.exampleif ur lost):SLACK_BOT_TOKEN: Bot User OAuth Token (xoxb)SLACK_USER_TOKEN: User OAuth Token (xoxp, token holder should be Workspace Admin/Owner for admin APIs)SLACK_APP_TOKEN: App-Level Token (xapp) withconnections:writeSLACK_SIGNING_SECRET: Signing secret from the app settingsSUPERADMINS: Comma-separated Slack user IDs to seed as global admins (e.g.U12345678,U87654321)LOG_CHANNEL: Channel ID to post audit logs to (optional but recommended)HACKCLUB_CDN_KEY: CDN API key for archiving deleted thread transcripts (optional)
- All commands is routed through
/pro. bun install && bun start- Profit???
You should be able to see two new message actions.
Deleting messages has no confirmation window, while nuking a thread does to prevent any misclicks
See LICENSE for the legal mumbo jumbo.
