Skip to main content

Commands

๐Ÿ’ฌ Commandsโ€‹

All commands are Discord slash commands. They split into two groups by who may use them:

  • Everyone โ€” informational commands any member can run
  • Manager โ€” Manage Server permission or the configured manager role
  • Manage Server โ€” server settings, gated behind the native Manage Server permission
Prefer a browser?

Every manager command below can also be performed from the Web Dashboard at msk-scripts.de/giveaway/dashboard โ€” log in with Discord and manage your giveaways visually.

Manager Commandsโ€‹

CommandDescription
/gcreateOpens a modal to create a giveaway in the current channel
/gedit <id> [title] [description] [winners] [prize]Edit a running giveaway
/gextend <id> <duration>Extend the end time of a running giveaway
/gend <id>Ends a giveaway immediately and draws the winners
/greroll <id> [winner]Draws new winners for an ended giveaway. With winner, replaces only that single winner
/gcancel <id>Cancels an active giveaway without drawing a winner
/gpause <id>Pauses a giveaway and freezes its timer
/gresume <id>Resumes a paused giveaway
/gtemplate save | list | delete | useManage reusable giveaway templates

Everyoneโ€‹

CommandDescription
/glistLists the active giveaways in the server
/ginfo <id>Shows details about a specific giveaway
/gstatsShows this server's giveaway statistics (totals, entries, win rate)
/ghelpOverview of all commands
/ginviteReturns the bot's invite link

Manage Serverโ€‹

CommandDescription
/gsettings showDisplays the current per-server configuration
/gsettings set โ€ฆSets or adds a setting โ€” see Configuration
/gsettings remove โ€ฆRemoves or clears a setting โ€” see Configuration

The giveaway ID (<id>) is the short public code shown in the footer of every giveaway embed (e.g. A1B2C3). Use /glist or /ginfo to look it up.


๐ŸŽ‰ Creating a Giveaway โ€” /gcreateโ€‹

/gcreate opens a modal with five fields:

FieldTypeLimits
TitleShort textup to 256 characters
DescriptionParagraphup to 2000 characters
DurationShort textformat like 1d2h30m, 45m, 90s โ€” min 10s, max 1 year
WinnersNumber1โ€“100
Prize (optional)Short textup to 256 characters โ€” shown in the embed and the winner DM

Duration formatโ€‹

Durations are written as a chain of <number><unit> tokens, where the units are:

UnitMeaning
ddays
hhours
mminutes
sseconds

Examples: 1d (1 day) ยท 2h30m (2ยฝ hours) ยท 45m ยท 1d2h30m ยท 90s

The minimum is 10 seconds (so the 10-second scheduler tick can fire) and the maximum is 1 year.


๐Ÿ” Pause, Resume, End & Rerollโ€‹

  • Pause (/gpause) freezes the countdown โ€” the remaining time is preserved and the button is disabled. Resume (/gresume) continues exactly where it left off.
  • End (/gend) finishes a giveaway early and immediately draws the winners.
  • Cancel (/gcancel) closes a giveaway with no winner draw.
  • Reroll (/greroll) picks new winners for an already-ended giveaway. Blacklisted roles are excluded from the new draw.

๐Ÿ—‚๏ธ Templates โ€” /gtemplateโ€‹

Templates store a reusable giveaway configuration (title, description, duration, number of winners), which is ideal for recurring events.

SubcommandDescription
/gtemplate save <name>Saves the current giveaway settings under a name
/gtemplate listLists all saved templates for the server
/gtemplate use <name>Creates a new giveaway from a saved template
/gtemplate delete <name>Removes a saved template