Skip to main content

Documentation 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.

Use /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

messageid
string
required
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.
selectwinners
boolean
default:"false"
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:
  1. Looks up the giveaway by the provided message ID and confirms it belongs to the current server.
  2. 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.
  3. Marks the giveaway as ended in the database.
When 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.
When selectwinners is false (default):
  • The embed is updated to show the ended state with the entry count, but no winners are picked or announced.
To copy a message ID in Discord, enable Developer Mode under User Settings → Advanced, then right-click the giveaway message and select Copy Message ID.

Build docs developers (and LLMs) love