Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to make an Discord xp handler bot
starcodeJasonYT (0)

Install discord.js

We're using Node.js by the way

If you're intrested in using yarn/npm this command will help

$ npm install discord.js
$ yarn add discord.js
USE THIS IN THE SHELL TAB

Now, to add your token. You want to head to the Secrets tab on replit, Don't see it? use this tutorial to help:

Tutorial video

**Note: if you don't have the "Hacker" plan on replit, you cannot keep your bot running.