A modern, easy-to-use Discord bot for hosting and managing giveaways, inspired by the original GiveawayBot#2381. Built with discord.js and mongoose.
- 🎉 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
git clone https://github.com/ItzRandom23/GiveawayBot.git
cd GiveawayBotnpm installEdit 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",
};npm startInvite 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.
/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
Feel free to open issues or pull requests!
This project is licensed under the MIT License.