This projects allow for the quickstart of development when creating a Typescript Discord Bot, it handles linting configuraiton & basic Typescript setup.
- NodeJS v16.x or above (Download)
- Node Package Manager (Bundled with Node)
- Install packages with
npm ci
oryarn
- Rename
example.config.yml
toconfig.yml
and enter required fields. - Run the project with
npm run start
oryarn run start
-
If you want to add a new value to
config.yml
orstorage.yml
, also add it toconfig.ts
. -
To create a new command, simply use the format shown in existing commands.
-
ESLint is configured & provided as a dependancy. To run ESLint, you can use the script with
npm run lint
oryarn run lint
, if you want to fix all auto-fixable problems usenpm run lint:fix
oryarn run lint:fix