A bot that posts crypto prices/charts to a specified channel in your teams slack.
-
Fork cryptoBot from
https://github.com/JacobCooley/cryptoBot
-
Navigate to the folder and run
npm i
-
Create a Slack OAuth Token
-
Create A Slackbot in your Teams Slack (only follow step 1)
-
Add 3 Environment Variables
- slackBotCCOauth - Your Oauth token you created in Step 3
- slackBotCCToken - Your Slackbot token from step 4
- slackBotChannel - The name of your channel
It is recommended to set different environment variables for the channel name on your local machine and your cloud platform if you want to change the code and test
Once you have your repo environment variables on your cloud platform, simply run `npm run start
You can have the bot post images by adding the png
format image into /bot/images
folder. Once the image is there, add the name of the image (without the file extension) into /config/constants.js
under the memes array
Once the app is integrated, go to the channel and type cc help
to see a list of commands