-
Install all dependencies:
npm install
ornpm i
-
Create a .env file for environment variables in the root directory of this repository, not inside the src folder!
-
Create three environment variables:
DISCORDJS_BOT_TOKEN
- Your Bot TokenWEBHOOK_ID
- For webhooks, not required unless you want to use the webhook commandWEBHOOK_TOKEN
- The token for your webhook client, refer to 1:12:00 in the video on how to create a Webhook.
-
Run
npm run start
ornpm run dev
in the project directory.