Granddz2 / giveaway-discord-bot

This Discord bot is made to manage and conduct giveaways in Discord servers. It allows users to set up giveaways, join them, and automatically selects winners at the end of the giveaway period

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Giveaway Bot

Description

This Discord bot is made to manage and conduct giveaways in Discord servers. It allows users to set up giveaways, join them, and automatically selects winners at the end of the giveaway period.

Features

  • Setup Giveaways: Users can set up giveaways with custom durations, prize descriptions, and the number of winners.
  • Join Giveaways: Participants can join giveaways through a simple button click.
  • Automatic Winner Selection: The bot randomly selects the specified number of winners when the giveaway ends.
  • Captcha Verification: To prevent bot entries, a captcha system is in place for users joining a giveaway.

Installation

  1. Clone the Repository: Clone this repository to your local machine or download the source code.
  2. Install Dependencies: Run install.bat to install the necessary packages.
  3. Configuration: Create a config.json file in the root directory with the following structure:
    {
      "token": "YOUR_BOT_TOKEN",
      "clientId": "YOUR_CLIENT_ID",
      "guildId": "YOUR_GUILD_ID"
    }
    Replace YOUR_BOT_TOKEN, YOUR_CLIENT_ID, and YOUR_GUILD_ID with your Discord bot token, client ID, and server (guild) ID, respectively.

Usage

  1. Start the Bot: Run start.bat to start the bot.
  2. Bot Commands:
    • /setup: Launches a modal to set up a new giveaway.

Contributing

Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute. or join Discord Server

License

This project is licensed under the MIT License.

Acknowledgements

This bot was created using the discord.js library.

Contact

About

This Discord bot is made to manage and conduct giveaways in Discord servers. It allows users to set up giveaways, join them, and automatically selects winners at the end of the giveaway period

License:MIT License


Languages

Language:JavaScript 98.7%Language:Batchfile 1.3%