I finished the last two most complex commands — /echo-summary and /echo-project and then finally deployed it on Nest with Hackclub
1. Finished the final commands
/echo-summary The command accepts today, yesterday, last N, and unread. I had to translate each of these into Unix timestamps for Slack’s conversations.history API
Filtering bot messages: The API returns bot messages too. Added .filter(m => !m.bot_id) to skip Echo’s own messages, otherwise Echo would summarize its own responses as if they were team decisions.
2. Deployed the project on Nest
Finally deployed it on Nest as this
- Pushed all my project to Git (except my .env file)
- Made a container in nest and got the key
- Logged in my laptop using that key ssh [email protected]
- Made a folder for Echo and downloaded all the neccessary dependencies
- Clone the repo from my git and ran systemctl start echo.service and Echo became 24/7 online :)
I’ve also shared a tutorial video on youtube to help you understand any command and how to use Echo on slack
https://youtu.be/Wu7u665-Njo
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.