My first slack bot!
- 3 Devlogs
- 3 Total hours
This bot isn't slacking off, it replies to messages 24/7!
This bot isn't slacking off, it replies to messages 24/7!
Commiting to git
Well, I’ve never tried committing to git direcly via terminal. It keep showing error without letting me to commit.
I found out that I forgot to allow access to repo but then I was having trouble to hide my .env files, and my commit are blocked by git protection
Manage to launch the bot
I finally got the bot running after I figured out the program was confused with the comment (#…..). I removed the comment and the bot start running smoothly!
Setting up the slack bot.
I was following the guide, however I was having a hard time trying to learn how to use terminal app. I Googled how to move .env file to .gitignore.
Initially, I did it with the mv command. However, it removed my text inside.
Later, I tried the echo command and I was confused it didn’t move the file into the .gitignore folder. After a few more research, I only manage to find out that adding files to .gitignore only remove it from being push to gitHub, and it remain on the same file path.