kadiwa4 / bingo-bot

speedrunning race bot for Discord
ISC License
2 stars 2 forks source link
discord gaming racing speedrunning

Bingo Bot

Bingo Bot is a speedrunning race bot for Discord, originally developed for LittleBigPlanet by RbdJellyfish (no bingo functionality).

To get an overview of how the code works and where to start, see code_structure.md.

Discord server

Setup

Set up a Discord bot

Enable Application > Bot > Server Members Intent.

Install Node.js (LTS version or newer).

Get build tools.

Get dependencies.

npm i

Create discord_auth.json in the bingo-bot folder with your auth token.

{
    "token": "discord auth token here"
}

Create a configuration file for your speedrunning server and put it into src/guild_configs.

Run bot.

npm start

To run the bot on a server, I recommend PM2.

If you want properties on discord.js types to work, go to node_modules/discord.js/package.json and edit this line.

"types": "../../src/discord/types.d.ts",

Commands

Pre-race commands

Mid-race commands

Co-op-race commands

IL-race commands

Stat commands

Other commands

Moderator-only commands