package
module
Version:
v0.0.0-...-30761ba
Opens a new window with list of versions in this module.
Published: Feb 13, 2021
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
wordimg slackbot
It is slack command that generates emoji.
![image](https://user-images.githubusercontent.com/29977786/107849016-a8db4400-6e3b-11eb-8a36-be7c6a0162a4.png)
Install Commands
- Deploy to cloud funciton.
./deploy.sh $your_projectID
-
Set the URL
environment variable to the URL of wordimg. (https://wordimg-otho5yxlgq-an.a.run.app/wordimg)
-
Creat slack app.
-
Add slash commands. URL is the url of deployed cloud funciton.
- /wordimg
- /wordimg1
- /wordimg2
- /wordimg3
-
Add a chat:write
to oauth scope.
-
Install slack app.
-
Create secret.
SLACK_SECRET
Signing Secret of slack.
SLACK_APIKEY
Bot User OAuth Access Token of slack.
-
Grant secret accessor privileges to the cloud function service account.
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.