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 cioryarn - Rename
example.config.ymltoconfig.ymland enter required fields. - Run the project with
npm run startoryarn run start
-
If you want to add a new value to
config.ymlorstorage.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 lintoryarn run lint, if you want to fix all auto-fixable problems usenpm run lint:fixoryarn run lint:fix
