- Install Bun
- Clone the repository &
cd
into it - Run
$ bun install
to install dependencies - Create a file named
.env
in the root directory and add the following:
DISCORD_TOKEN=your_token # A Discord bot token
MONGO_URI=your_mongodb_uri # A MongoDB connection uri
GITHUB_TOKEN=your_token # A GitHub personal access token with the `public_repo` scope
TEST_GUILD_ID=your_guild_id # A Discord guild id for testing slash commands
-
Edit the
src/config.json
file to have your own discord ids -
Finally, start the bot with
$ bun run src/index.ts