Disc Golf Bot is a Discord Bot to help assist and inspire Disc golf communities. Disc Golf
To report a bug, click here.
To suggest a new feature, click here
Anyone is free to create PR's with improvements and additions to Disc Golf Bot.
Please lint your code with the projects' ESLint config.
Contributors are listed in this file, and given a Contributor role in the support server. If you have more questions, send me a message on discord.
To run the bot, you need the following things first: Git, NodeJS v12+, Postgres, a discord bot account
- Clone the repository:
git clone https://github.com/oldschoolgg/oldschoolbot.git - Change into the new directory:
cd oldschoolbot - Install the yarn dependency:
npm install --global yarn - Make a config file from the example:
cp src/config.example.ts src/config.ts - Edit this new
config.tsfile, input your bot token; be sure to read the comments for any additional instructions. - Go to https://discord.com/developers/applications and ensure your bot has
Privileged Gateway Intents > Server Members Intentenabled. - Create a file called
.envin your project's root directory with the content (change as necessary for your DB, this is known as a DSN):DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=public - Run
yarnthenyarn install - Run
npx prisma generateto generate the Prisma client files and load the DSN from #6 - Run
npx prisma db pushto create the tables on the database referenced in .env - Run
yarn build- then runyarn start. In the future, you can type onlyyarn startto start the bot.
If you have errors or issues, you can ask us for help in the developer channel in the discord server.
- [None yet]
Self hosting is not supported.


