It’s taken me a while to do these simple tasks but basically I’ve added a /yaknow-cat command that displays cat images from an API. This took me a while because I hadn’t realised that you needed to make it an attachment for slack to display it.
I also make a /yaknow-roll command that’s an rng that rolls a number between 1 and 1 million. It’s going to be a game where you need to try and get the highest or lowest number. A leaderboard will then display these high/small roles.
I spent a while figuring out how to save stuff to a json file (I watched a tutorial for some of it), however it currently only saves the most recent roll, slack id, and a timestamp. I’m going to fix all that next update hopefully.
Bugs I’ve noticed: There’s currently a bug I just noticed as I’m writing this, if you get lucky it sends 2 messages (lucky and unlucky). This should be a quick fix for the next update.
Note: My nest has been accepted, I’m going to try set that up after I’m done writing this blog :)