Decisions, decisions
My first decision was to rewrite the bot in Typescript because I have a bit more experience with it. It took a bit of troubleshooting but I got it working in the end.
My second decision was to decide the command syntax. After very little thought I came up with /slickslacksloe command [argument] .
This basically means that commands have the syntax /command [argument] but with the prefix slickslacksloe so it’s actually findable in Slack.
The first command I made was the /slickslacksloe help command. It displays all available commands and gives a short description.
I still haven’t fully decided about how I should show what values arguments can have. Right now its <value1, value2, valueN> but it’s not super clear and it’s a bit ugly.
What’s next?
I will make a pfp for the bot but that will probably take a while to get to. I’m thinking that the next step will probably be making some tic-tac-toe logic. Storing the board, handling win/lose conditions, and handling several games (from different) users at the same time.
I might rework it a bit and make the only command start and make the game be controlled with reactions but I’m not sure.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.