Polytoria's Discord community bot rewritten in TypeScript.
To run this bot it is recommended to use Node v20.10.0 LTS release.
Clone the bot using Git
git clone https://github.com/Polytoria/CommunityBot.git PolytoriaCommunityBot
Install the necessary dependencies.
- YARN:
yarn install
- NPM:
npm install
- PNPM:
pnpm install
To build and run the bot, simply build the TypeScript files using the package.json
script build
with your favorite command-line utility.
npm run build
, yarn run build
etc...
The bot requires a .env
file as seen in .env.example
, copy the file, rename it to .env
and insert your discord bot token there.
Then just run with the package.json
script start
.
npm run start
etc...