/discord-giveaway-bot

🎁 Very simple giveaway bot made with discord.js and discord-giveaways

Primary LanguageJavaScript

Simple discord giveaway bot

GitHub followers GitHub Repo stars GitHub forks

Hi! This is a repository for a simple discord giveaway bot, this discord bot is made with discord.js and an npm package called discord-giveaways. If you would like to know how to install and setup this discord bot head to "How to install?"

Preview of discord bot

PreviewThis is what will show when the bot has been setup successfully.

Features

  • Create your own custom giveaways!
  • Custom time!
  • Custom prize!
  • Custom role mention!
  • Multiple winners!
  • Not manipulable!

How to install?

Using git clone:

Step 1: You have to install NodeJS and Git.

Step 2: Create a folder (preferably on your desktop).

Step 3: Open Command Prompt. Step 4: Type in: cd path/to/your/discordbot/folder. (Example: C:\Users\Ghaku\Desktop\discord-giveaway-bot)

Step 5: Press enter.

Step 6: After that type in: git clone https://github.com/ghaku/discord-giveaway-bot.git

Step 7: Press enter.

Ending Point: When you see all of the github files in your folder this means that you installed the bot succesfully.

Alternative downloading methods:

Alternative 1: Downloading the repository as a zip file. Which can be done here.

Usage + Setup

Step 1: Open config.json and change the following values:

Value What does this value mean?
"token": "YOUR_TOKEN_HERE" This is what discord will use to log into your bot.
"prefix": "YOUR_PREFIX_HERE" This is what your bot will respond to.
Optional Values What does this value mean?
"giveawayRoleID": "", This is what the bot will mention when the giveaway starts. Default = @everyone. has to be an ID
"showMention": true, This determines if the mention will be shown or not
"giveawayMention": true, This determines if there will be a role mentioned
"giveawayManagerID": "", This options lets the bot know who is able to start giveaways. Default = MANAGE_MESSAGES permission

Step 2: Run setup.bat.

Step 3: Run start.bat And you are done! You have successfully made your discord bot run. If you are having any troubles refer to the GIF below or open an issue.

Example

The token in this GIF is outdated.

Contributing to the repository

  1. Fork the repository!
  2. Clone your fork: git clone https://github.com/your-username/discord-giveaway-bot.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request! β‚α’β€’ο»Œβ€’α’β‚Ž*ο½₯゚q

Authors

Authored and maintained by @JacProsser & @ghaku.