UseDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/resynceddesign/giveawaybot/llms.txt
Use this file to discover all available pages before exploring further.
/gend to stop an active giveaway immediately, before its timer runs out. You can choose whether the bot picks and announces winners at the same time, or simply marks the giveaway as ended without selecting anyone.
Parameters
The message ID of the giveaway to end. This is the ID of the message the bot posted in the giveaway channel. The command also accepts the giveaway’s internal database ID.
When set to
true, the bot picks winners from the current entry pool, announces them in the giveaway channel, and sends each winner a congratulations DM. Defaults to false.Behavior
When/gend is run, the bot:
- Looks up the giveaway by the provided message ID and confirms it belongs to the current server.
- Updates the giveaway embed to replace the title header with GIVEAWAY ENDED and disables the entry button. The disabled button’s label shows the total number of entries that were recorded.
- Marks the giveaway as ended in the database.
selectwinners is true:
- Winners are drawn randomly from all recorded entries.
- The bot posts a follow-up message in the giveaway channel:
🎉 Giveaway Ended! Prize: … Winners: @mention … Hosted by: @host - Each winner receives a direct message:
🎉 Congratulations! You won the giveaway for [prize]!with a link to the original giveaway message. - If there are no entries, the embed description shows “No valid entries, no winners could be chosen.” and no channel announcement or DMs are sent.
selectwinners is false (default):
- The embed is updated to show the ended state with the entry count, but no winners are picked or announced.