A simple example of a Discord.js bot using DCHandler.js!
Lets get started!
First clone or download this repo to a folder.
Next get a bot token from Discord Developer Portal.
Create a new Application, add a bot.
Then copy the token from the added bot.
Add the token to client.login('') as a string.
client.login('') // Token goes here
npm i
node index.js
For Debug info
node index.js --debug
npm run dev
Good job! You now have a working Discord-bot!
- Feel free to Change the prefix in .env
- Add or remove commands from the commands folder.
- Customize to ur 💖's desire!
See the DCHandler.js README.md for documentation.
-
Discord documentation:
-
Discord Developer Portal
-
Worn off keys: (discords.js)
-
w3schools: (js)
- Discord: macen#0001
- Github: https://github.com/macen648
- Npm: https://www.npmjs.com/~macen
Macen <3