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 /greroll to select a fresh set of winners from the original entry pool of a giveaway that has already ended. This is useful when a previous winner cannot be reached, has left the server, or needs to be disqualified.

Parameters

messageid
string
required
The message ID of the ended giveaway. This is the same ID used with /gend — the ID of the bot’s original giveaway message.

Behavior

When /greroll is run, the bot:
  1. Looks up the giveaway by the provided message ID and confirms it belongs to the current server. If no matching giveaway is found, it responds with “Invalid giveaway ID”.
  2. Checks that the giveaway is no longer active. If the giveaway is still running (status=1), it responds with “This giveaway is not ended yet” and stops.
  3. Draws new winners at random from all entries recorded during the original giveaway period.
  4. If the entry pool is empty, it responds with “No one entered the giveaway” and stops.
  5. Posts a message in the original giveaway channel: New Winner(s): @mention (comma-separated if multiple winners).
  6. Replies to you with an ephemeral confirmation: “New Winners have been selected”.
Rerolling does not alter the ended giveaway embed — it only sends the new winner announcement as a follow-up message in the channel.
The giveaway must already be ended before you can reroll. If it is still active, use /gend first to close it, then run /greroll.
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