Simple yet effective ELO-based Discord bot for competitive bridge.
NOTE: This project utilizes Bun. Please install it before attempting to run the Discord bot.
- Clone this repository and
cd
into the directory.
git clone https://github.com/bridge-scrims/ranked-bot.git
cd ranked-bot
- Run
bun i
. This will install all dependencies. - Create a new Discord application via Discord's Developer Portal.
- Copy the application ID and put it in your
.env
file. - On the
Bot
section of the application, clickReset Token
and copy it. Put it in your.env
file. - Enable the following intents: Presence Intent, Server Members Intent, and Message Content Intent.
- Invite the bot to your server via the
Installation
section of the application. Click "Discord Provided Link" and visit the URL provided. An example URL ishttps://discord.com/oauth2/authorize?client_id=1234567891234567890&permissions=0&scope=bot
. - Run
bun dev
to start the Discord bot.
TBD