Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Platypush
platypush
Commits
d18245b1
Commit
d18245b1
authored
Sep 22, 2021
by
Fabio Manganiello
Browse files
Fixed Slack plugin docs
parent
b961ef04
Pipeline
#49
failed with stages
in 1 minute
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
platypush/plugins/slack/__init__.py
View file @
d18245b1
...
...
@@ -19,8 +19,8 @@ class SlackPlugin(ChatPlugin, RunnablePlugin):
You'll have to generate your own Slack app and tokens in order to use this plugin. Steps:
- Create a new Slack app `here <https://api.slack.com/apps>` and associate a Slack workspace to it.
- In the configuration panel of your app scroll to Socket Mode and select Enable Socket Mode
_
.
- Scroll to Event Subscriptions and select Enable Events
_
.
- In the configuration panel of your app scroll to Socket Mode and select Enable Socket Mode.
- Scroll to Event Subscriptions and select Enable Events.
- Choose the type of events that you want to subscribe to. You can select bot events (i.e. when somebody in
the channel mentions the name of your app) or any of the workspace events (e.g. creation of messages, user
events etc.).
...
...
@@ -32,7 +32,7 @@ class SlackPlugin(ChatPlugin, RunnablePlugin):
- If you changed scopes and settings, you may have to reinstall the app in the workspace through the
Install App menu.
- Navigate to the Install App menu. If the app has been correctly installed in your workspace then you should
see a Bot User OAuth Token
_
, used to authenticate API calls performed as the app/bot. If you also granted
see a Bot User OAuth Token, used to authenticate API calls performed as the app/bot. If you also granted
user permissions to the app then you should also see a User OAuth Token on the page.
Triggers:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment