Slack#
Implements a bot backend for Slack.
Identities#
The Slack backend implements the following identities, which can be used to limit commands to certain users, teams, channels, etc…
Type |
Example |
Description |
---|---|---|
|
U012BTV7D5F |
A unique user ID (not a username) |
|
N/A |
A unique channel ID (not a name) |
|
N/A |
A unique team ID (not a name) |
API#
- class clicky.backends.slack.SlackBackend(app: Clicky, name: str, backend: BackendConfig)#
- async run()#
Take over the process and start the bot. This will be called only after forking the process, so you can do whatever you want here.