My first slack bot!
- 2 Devlogs
- 2 Total hours
A slack bot that will share to you cats images, gifs, and facts!
A slack bot that will share to you cats images, gifs, and facts!
I was able to figure out how to get my slack bot onto nest 24/7 and then started to add some more commands such as /fishwish-greet (a cat will greet you with a “wassuppp”, /fishwish-catfilter (random filters will be thrown onto a cat picture), /fishwish-help (overview of all the commands), /fishwish-catpic (random picture of a cat). I spent a lot of time debugging the problems with all the image showing and the most complex one was with the /fishwish-catfilter because I had to randomize a lot of the values such as the saturation, and brightness. I was able to finally finish it though and everything was working as intended so it was super cool to see!
At first I was just following the guide in order to set up everything properly for the slack bot. Then, I was able to start coding on the js file in order to make the slack bot start responding. I tried to use the cataas api but I was having some trouble so for a very long time I had to keep debugging. The image on the right you can see before the gif was workign I was having a lot of failed attempts with it outputing links that were all undefined. There were a lot of debugging until I got the gifs to actually work. I also updated the slack bot icon and colors to make it look cool!