Docs / Giveaways / Commands / /giveaway invite
Member Server only

/giveaway invite

Get your personal invite link for a giveaway.

Usage

Generated
/giveaway invite <giveaway_id>
OptionTypeRequiredDescription
giveaway_id whole number
suggests
Yes Pick a giveaway with referral entries

Who can run it

Generated
Discord defaultEvery member
Command Access presetEveryone
Always allowedThe server owner and, by default, Administrators
Change itDashboard, Services, Giveaways, Commands

Meant for ordinary members. Open unless you lock it in Command Access. How Command Access works.

What the bot needs

Generated

Giveaways is granted these permissions by the invite link. A command that finds one missing replies privately with what it could not do and changes nothing.

Add ReactionsView ChannelSend MessagesEmbed LinksRead Message HistoryPin Messages

Behaviour

Checked against the code 2026-09-21

Gives you a personal invite link for a giveaway that rewards referrals. Any member can run it. The Giveaways service must be enabled ("The Giveaways service is not enabled here."). giveaway_id autocompletes with this server's running giveaways that have referral entries turned on. The reply is private to you.

Referral entries are a dashboard option on the giveaway: bonus entries per member you bring in, a minimum number of referrals to be eligible, or both. A giveaway without them answers "This giveaway has no referral entries.", one that has ended answers "This giveaway is no longer active.", and one from another server "Giveaway not found."

The bot creates an invite to the giveaway's channel just for you, reuses it on later calls, and lets it expire when the giveaway ends. Discord caps invites at seven days, so a longer giveaway gets a fresh link once the old one lapses. The bot needs the Create Invite permission in that channel, otherwise: "I need the Create Invite permission in the giveaway channel to make your link."

The reply starts with "🔗 Your invite link: https://discord.gg/..." and "Referrals so far: 2". Depending on the giveaway it adds "Each member who joins through it adds +1 entries for you.", "You need 3 referrals to be eligible when winners are picked.", and "Joined accounts must be at least 7 days old to count."

A referral is counted when someone joins the server through your link. Bots do not count, you cannot refer yourself, and accounts younger than the giveaway's minimum age (7 days unless the host changed it) do not count. Bonus entries are added right away, whether you entered before or after the join. When the giveaway has a referral minimum, entrants below it are left out of the draw.

Good to know

  • The "My invite link" button on the giveaway post gives the same reply.
  • The bot reads the server's invite use counts to credit referrals, which needs its Manage Server permission.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction