⭐ See star Here Click Here!
❓ Need Help ? Get my Discord!
⚡ / Electric Bot is a bot working with ‘/’ commands allowing you to create unique giveaways with a reworked design and absolute ease, an active time system and optional options and features such as a special role to configure by making a simple command or configuring it manually.
- 🎉 Create Giveaways: Easily start giveaways with customizable duration, number of winners, and more.
- 🔁 Reroll Giveaways: If needed, reroll a giveaway to select new winners.
- 🛠️ Admin Permissions: Only users with special roles or administrator permissions can start, reroll, or delete giveaways.
- ⏱️ Timed Giveaways: Set specific durations for giveaways using a flexible format like
1d2h3m4s
(days, hours, minutes, seconds). - 📜 Customizable Giveaway Message: Provide a description, set conditions, and choose to mention
@everyone
or@here
ornothing
. - 🏆 Random Winner Selection: Automatically choose a random winner or winners after the giveaway ends.
- 🔧 Role Configuration: Allows server owners to configure a special role with permissions to manage giveaways.
- ⏰ Active time: Active start and end times (GMT), future updates will allow you to choose your own local times
-
Clone the repository:
git clone https://github.com/yourusername/discord-giveaway-bot.git cd discord-giveaway-bot
-
Install the dependencies:
pip install -r requirements.txt
-
Set up the bot configuration:
- In the
config.json
file in theutil
folder, replace"token"
with your Discord bot token. - You can also configure the
special_role
field to assign a role with special permissions to manage giveaways ( exemple : your friend, or user ).
Example
config.json
:{ "token": "YOUR_BOT_TOKEN", "special_role": "gwperm" }
- In the
-
Run the bot:
python main.py
Or launch the
launch.bat
for windows users.
Once the bot is running, you can use the following slash commands:
/giveaway
: Start a new giveaway with customizable options (duration, prize, number of winners)./reroll
: Reroll a giveaway to choose a new winner./delete
: Delete an ongoing or completed giveaway./role
: Set a special role with permission to manage giveaways.
The bot requires the following Python libraries:
pytz
nextcord
tzlocal
You can find these listed in the requirements.txt
file.
- ⭐ 5 Stars : Time updates ( New feature to choose your local time from a multitude of choices ).
- ⭐⭐ 15 Stars : Design improvements.
- ⭐⭐⭐ : 30 Stars : International bot rendering (bot can run on several servers at the same time and even be controlled by users on other servers, each server will have its own settings).
My discord : gxqk
Thanks, if i don't respond to you instantly. Remember i have a life!