A template for discord.js v13 written in typescript
Requires nodejs v16 or above
- Rename
example.config.yml
toconfig.yml
and put in the parameters - You may do the same with
example.storage.yml
but that's just there for example on if you wanted stored manipulatable data during runtime.
once params have been filled in run:
# To install packages:
$ npm i
# Running the bot with either yarn or npm
$ yarn start
# Or
$ npm start
-
All notes are provided to help not spoonfeed
-
If you want to add a new value to the
config.yml
make sure to add it toconfig.ts
too (same case forstorage.yml
) -
Adding new commands is pretty easy just add a new file and copy the template, easy right?
-
ESlint has been added in here for extra help to help you style your code to be better,
make sure the eslint plugin is install on your VScode first!(you can pressctrl + shift + p
then clickESlint: Fix all auto-fixable Problems
for some quick savers) or by runningeslint "**"