Giveaways
The giveaway system makes it easy to host and manage Discord giveaways. It supports advanced features like role requirements, entry restrictions, customizable messages, and automatic winner selection.
Core Settings (Config)
Configure config/modules/giveaways.yml:
Giveaways:
Enabled: true
ManagerRoles:
- ROLE_ID
DirectMessageWinners: true
Buttons:
Enter:
Label: Enter giveaway
Emoji: π
Style: Success
Odds:
Label: My odds
Emoji: π
Style: Secondary
Entrants:
Label: Entrants
Emoji: π₯
Style: Secondary
ActiveGiveaway:
Components:
- Type: container
AccentColor: '#1769FF'
Components:
- Type: text_display
Content: |-
## π {prize}
Hosted by {hostedBy}
Ends {endsIn}
Winners: {winnerCount} Β· Entries: {entries}
{requirements}What these do
ManagerRoles β Roles allowed to manage giveaways. Members with Manage Server can also manage them.
DirectMessageWinners β
trueis recommended so winners get a DM.
Active Giveaway Message
Edit ActiveGiveaway.Components to choose what the running giveaway shows:
Title, Thumbnail, Hosted By, Ends In (countdown), Entries
Whitelist/Blacklist roles
Minimum server membership / account age / messages
Image, Footer
Buttons & Styles
Primary (Blue), Secondary (Gray), Success (Green), Danger (Red)
Built-ins:
Enter (
Buttons.Enter)Odds (
Buttons.Odds)Show Entrants (
Buttons.Entrants, opens a paginated list)
Ended Giveaway Message
After a giveaway ends, the EndedGiveaway message appears. Edit EndedGiveaway.Components to change:
Title, Thumbnail, Image, Winners field, Entries field, Footer
Entrants List Placeholders
Inside Entrants.Components you can use:
{prize}β prize name{entrantsList}β formatted list of entrants{totalEntrants}β total count{currentPage}/{totalPages}β pagination info
Commands
/giveaway create
Create a giveaway with all your options in one go.
Required options
channelβ The channel to post the giveaway indurationβ Duration (see formats below)winnersβ Number of winnersprizeβ The prize name
Optional settings
hostβ Who is hosting (defaults to you)minimum_server_daysβ Minimum days in the server (e.g.,30)minimum_account_daysβ Minimum account age in days (e.g.,7)minimum_invitesβ Integer (minimum invites to enter)minimum_messagesβ Integer (minimum messages to enter)required_rolesβ Mention roles allowed to enter (e.g.,@VIP @Boosters)blocked_rolesβ Mention roles disallowed (e.g.,@Muted)notify_roleβ Role to mention when the giveaway startsbonus_entriesβ Give bonus entries to roles (format:@role:entries @role2:entries)Example:
@VIP:5 @Booster:3
Examples
Simple daily Nitro:
With restrictions and extras:
/giveaway end
End a running giveaway by its Giveaway ID (found in the giveaway message).
/giveaway reroll
Pick new winner(s) for a finished giveaway. Optionally specify particular users to reroll.
β² Duration Formats
Use these in the duration field:
m = minutes β
30m,45mh = hours β
2h,12hd = days β
1d,7dw = weeks β
1w,2wy = years β
1y
Last updated