This is a bot that provides all the necessary utilities to run a giveaway in Discord. The bot is built on top of my discord.js v14 discord bot template and uses discord-giveaways to handle most of the giveaway stuff.
First, clone this github project
git clone
Next up you will have to install all the dependencies by running
npm install
Then, you are going to create a file with the name config.json. Copy and paste the example bellow.
{
"token": "BotToken",
"devs": ["DevId1", "DevId2"],
"clientId": "BotClientID"
}
- token - your bot's token, acquired in the developer portal
- devs - the ID's of the bot developer(s)
- clientID - The bot's client ID, can be acquired from the developer portal
In order to keep track of the giveaways, discord-giveaways uses a json file. Create a file name giveaways.json and put in an empty array.
[]
You are all set to run the bot now. Have fun!
npm run start
โ ๏ธ Bear in mind that you must be using Node.js v16.9.0 or higher!
If you want to be a developer then DM me on Discord (tonyG#0001) or you could contribute directly by Pull Requests. Please note you cannot withdraw the credits, unless you donate me a small sum
This project is MIT licensed
Made with โค๏ธ by BotReadmeTemplate