Discord Javascript Hackpack runs on Node.js Version 20.10.0 and higher. Please ensure you have Node.js installed via the official website.
Discord.js is a Node.js module allowing easy interactions with the Discord API.
The following environment variables are required and must be stored in an .env
file:
DISCORD_TOKEN=
# Install dependencies
npm i
# Add dependency
npm i <dependency>
# Remove dependency
npm un <dependency>
npm run bot
# Rewrite code recursively with proper formatting
npm run format
# Show formatting differences recursively
npm run check
npm run eslint