I don't know why, but DiscordJS has changed a lot so this thing now is nothing but a cool programming wallpaper because everything in here is now pretty deprecated so DON'T USE THIS.
WARNING:
Requirements
- Install (
NodeJS
)[https://nodejs.org/es/download/] - Install any code editor (Recommended: Visual Studio Code 2019)
- Install all the dependencies used in the code (If you want, you can just remove quick.db, that was just used for nothing, literally, lol).
- Go to (Discord Developer Portal)[https://discord.com/developers/applications]
- Press "New Application" and fill the required information (Just name.)
- Press "Add Bot"
- SUPER IMPORTANT! Your bot's token is the password that will make you control your bot, DON'T share your token with ppl, atleast you trust them or work with you
Replace token information in config.json to your bot's token!
- Open cmd
- Type
cd:BOT CODE UBICATION
ExampleC:\Users\Ninja\MyBot\
- Type
node index.js
And done! Your bot must be working! Good luck and enjoy your first bot! If you use this for any purpose, keep the code open, pls!