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
cdinto 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
.envfile. - On the
Botsection of the application, clickReset Tokenand copy it. Put it in your.envfile. - Enable the following intents: Presence Intent, Server Members Intent, and Message Content Intent.
- Invite the bot to your server via the
Installationsection 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 devto start the Discord bot.
TBD