Skip to content

SVredeveld/mariobot

Repository files navigation

🍄 MarioBot for Slack - Time Tracker & Leaderboard

Welcome to the MarioBot repository! Our Slack bot is designed to streamline time-tracking for mariokart time trials. Just add your time, and MarioBot will handle the rest, keeping tabs on everyone's input. Compete with your friends or colleagues and climb the leaderboard to see who's the most punctual!

Features:

🕒 Time Tracking: Quickly add your times and let the bot manage the rest.

🏆 Leaderboard: See who's on top with our integrated leaderboard.

🤖 Slack Integration: Seamlessly integrated with your Slack workspace.

Local Development

This section provides a guide to get the bot up and running on your local machine. Whether you're looking to contribute or just play around with the code, you'll find everything you need to get started here.

Prerequisites:

Setup:

  1. Clone the repository.
  2. Rename the .env.example file to .env and fill in the values.
    • To get the NGROK auth token go to the ngrok dashboard and copy the token.
    • To get the Slackbot token go to your Slackbot settings, got to OAuth & Permissions, and copy the Bot User OAuth Token.
  3. Run docker-compose up to start the bot.
  4. Go to http://localhost:4040 to get the ngrok URL.
  5. Go to your Slackbot settings and add the ngrok URL as the request URL in your slash command settings. Again, see Creating and Installing a Slackbot for more information.
  6. You're all set! Try adding a time to the bot and see if it works! Changing the python code will automatically restart the bot, so you can test your changes immediately.

When developing while using docker-compose, the bot will automatically restart when you change the python code. This means you can test your changes immediately! Happy coding :D

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published