Skip to content

A clone of the original GiveawayBot#2381 bot written in discord.js and mongoose.

License

Notifications You must be signed in to change notification settings

ItzRandom23/GiveawayBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GiveawayBot Banner

GiveawayBot

A modern, easy-to-use Discord bot for hosting and managing giveaways, inspired by the original GiveawayBot#2381. Built with discord.js and mongoose.


Features

  • 🎉 Start, end, reroll, and delete giveaways with simple commands
  • 🏆 Interactive giveaway creation with modals
  • 🖌️ Customizable embed color and emoji
  • 📋 List all active giveaways with pagination
  • ⚡ Fast, scalable, and sharding-ready
  • 🛡️ Permission checks and robust error handling

Installation

1. Clone the repository

git clone https://github.com/ItzRandom23/GiveawayBot.git
cd GiveawayBot

2. Install dependencies

npm install

3. Configure your settings

Edit settings.js and fill in your bot token, MongoDB connection string, and owner ID:

module.exports = {
  TOKEN: "your-bot-token-here",
  MongoDB: "your-mongodb-connection-string-here",
  dev: "your-discord-user-id-here",
};

4. Start the bot

npm start

Usage

Invite your bot to your server using the OAuth2 link (replace YOUR_CLIENT_ID):

https://discord.com/oauth2/authorize?permissions=347200&scope=bot+applications.commands&client_id=YOUR_CLIENT_ID

Use /help in your server to see all available commands.


Commands

  • /start — Start a giveaway
  • /create — Interactive giveaway creation
  • /end — End an active giveaway
  • /delete — Delete a giveaway
  • /reroll — Reroll winners
  • /list — List active giveaways
  • /settings — Show current settings
  • /setcolor — Set embed color
  • /setemoji — Set giveaway emoji
  • /about, /ping, /invite, /help — Info & utility

Support & Contributing

Feel free to open issues or pull requests!


License

This project is licensed under the MIT License.

About

A clone of the original GiveawayBot#2381 bot written in discord.js and mongoose.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published