This is my simple Discord bot using Discord.JS, actually I made this for my server only and for educational purpose so if you can see the code is bit messy. I will update this bot and try to refactor the code when I got free time.
- Get your bot token from https://discord.com/developers/applications
- Install nodejs https://nodejs.org/en/download/
- Install dependencies
npm i discord.js npm i fs npm i axios npm i request npm i mongodb npm i steamid
- You need check the .js file one by one and you should looking for variables like
channel
role
emoji in format: <emojiname:emojiid
and change it on your own - After you done with checking the files, run using pm2
pm2 start bot.js
- I'm sorry because I'm too lazy to write this step by step, so all you need to do is watch this video https://www.youtube.com/watch?v=EcJERV3IiLM
- You don't need watch the whole video, just on
4:17 - 7:55 (note: make sure you name your collection to users)
16:26 - 19:13 (paste the connectionstring to config.json)
- And you are done
- Casino
- Register
- Daily
- Give coin
- Check profile
- Buy badge
- Coinflip solo and duo
- Dice solo and duo
- Slot
- Crash game
- Account Generator
- Generate
- Restock
- Moderation
- Ban
- Kick
- Clear message
- Fun
Jokes- Love calculator
- Game Stats
- Dota 2 stats
- Apex Legends stats
- Information
- Covid-19 stats
- Cryptocurrency price
- Weather check
- Ping
- Generate invite server link
- Server info
- Bot info
- Convert currency
- See all the command list with how to use them
- NSFW
- Hmmmm
- Anime
- Anime Boruto scraper (if you are weebs and from Indonesia)
- Utilities
- Short link
- Get random image
- Create polling
- Generate fake complete data
- Random number generator
- Coinflip
- If you play the crash game, you need to stop the game in
1.9x
in order to stop on2.0x
If you have any issues or problem, you can create a new issues and I will help as much as I can (note: check the closed issues first before create a new issues)
If you have any suggestion or request features, you can create a new issues