A template for Discord.JS bots.
- Create a new repository from this template
- Find & replace
bot-template
with the name of the new repository - Find & replace the description with a proper one
- Add
NPM_TOKEN
as a new repository secret - Add your bot
TOKEN
as environment variable - Add your
MONGO_URI
as environment variable - Remove
"dryRun": true
from thepackage.json
- Remove this section
bot-template
can be used as a template for Discord.JS bots.
Pulls to the repository will automatically be built with semantic-release. The built package can be found on npm or in the latest github release.
The package can also be built locally using the build
script.
npm run build
yarn run build
pnpm run build