Giveaways Bot

Getting Started,

You'll need to have nodejs installed. Then clone this repository :

git clone https://github.com/BotStudios/DiscordGiveawayBot.git

After cloning, unzip the zip file and you're ready to go !

Configuration

First, open index.js file and you should see something like this in the file :

const PREFIX = "YOUR_DISCORD_BOT_PREFIX";
const TOKEN = "YOUR_DISCORD_BOT_TOKEN";        

Now Replace YOUR_DISCORD_BOT_PREFIX with the prefix you wish to have and YOUR_DISCORD_BOT_TOKEN with your Discord Bot Token.

We assume that you've already know how to setup and get a Discord Token. If not, check out Discord.js Guide

Finally, Run The Bot ! Open your terminal or in Windows Command Prompt and run node index.js if you didn't change any file name or stuff. If you do, you should run something like node <filename>.js . If there's no error and your bot went online, it probably means that you've setup correctly or else read this again and see if you miss out something.

How To Use

Not sure if you've went through every single step in this guide. I hope you do ✨

Alright, since this is a lightweight and simple discord bot, it doesn't actually contain any complicated stuff and learning how to use the bot is going to be easy.

First, run <prefix>g <duration> <prize> in the giveaway channel. Here's an example :

!g 1d discord nitro

And see if the bot return anything. If its a giveaway message, then you're good to go.

Last updated