You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

44m 53s logged

New to slack bot

This is my first time making a slackbot app….
Decided t go with python as it is the easiest and I know it pretty well.

I started off by getting an understanding on how to even run a bot. I was more used to discord bots, and this was quite different, with us having to add commands on the webpage and such.

Once I got the hang of it, I created a bot.py and a tictactoe.py file. The tictactoe file had the base of how my tictactoe game worked and such while the bot.py was where the command system lived. It just had like, responses to commands, what happens if X happened… yeah

The one and only command I have for now is:

/3t
-> play the game with /3t start
-> place a piece with /3t move <1-9>
-> quit with /3t quit

I will continue this project under “slackbot” time

0
3

Comments 0

No comments yet. Be the first!