- Request an invite to join the bot testing slack workspace form @hic
- clone the repo and CD into slackbot
- run
npm install
to install npm packages - run
npm test
on the terminal to see a return json conversation history
If you want to test this bot locally on your own slack workspace make sure to change the SLACK_BOT_AUTH and SLACK_USER_AUTH codes respectively and also update the CHANNEL ID
The dionysus both should work
The bot can be interacted with in two ways.
-
By using a slash command: in any channel call
/save-conversation
and the bot will reply with aconversation saved
response. This command creates a slack.json file that holds the conversation history. -
By real time interaction: interact with the bot in real time by typing
@dionysus help
it will respond withto save a conversation type /save-conversation.
Your conversation will be saved in the external drive.