New! The Potato Stock Exchange is open. Get in early! New! Try the new dashboard!

#giveaway

Start a giveaway

Moderators only

Start a giveaway in chat, allowing viewers to enter for a chance to win a prize. The bot will randomly select a winner after a specified amount of time. Randomness is determined with Fisher-Yates algorithm, and entries are de-deduplicated. A URL is returned with the usernames, platform IDs, and 7tv IDs of the winner(s). Flags narrow who may win, by role, badge, chat color or subscription. Entries are kept for a day after the draw, so winners can be drawn again.

Usage

#giveaway <trigger> <number of winners> <duration>

<angle brackets> are required [square brackets] are optional flags change what it does

Arguments

  • input Optional Text, the rest of the message

    The trigger (unless given with the trigger flag), number of winners and duration of the giveaway

Flags 10

  • -announce -a Switch Moderators only

    Send the messages as a announcement in the channel.

    #giveaway <trigger> <number of winners> <duration> --announce
  • output: Text Moderators only

    Customize the response for the start of the giveaway.

    #giveaway <trigger> <number of winners> <duration> output:"custom message"
  • trigger: Regex

    The trigger for the giveaway entry, can be a regular expression or a phrase with spaces

    #giveaway trigger:"regular expression or phrase" 1 5 minutes
  • -subs Switch

    Only subscribers may win.

    #giveaway <trigger> <number of winners> <duration> --subs
  • months: +int

    Only subscribers whose badge shows at least this many months may win.

    #giveaway <trigger> <number of winners> <duration> months:6
  • roles: Text

    Only these roles may win: broadcaster, leadmod, mod, vip. Separate several with a comma.

    #giveaway <trigger> <number of winners> <duration> roles:mod,vip
  • exclude: Text

    These roles may not win: broadcaster, leadmod, mod, vip. Separate several with a comma.

    #giveaway <trigger> <number of winners> <duration> exclude:mod,broadcaster
  • badges: Text

    Only viewers wearing one of these chat badges may win, named by badge set, with a version after a slash.

    #giveaway <trigger> <number of winners> <duration> badges:premium,bits/1000

Examples 8

Start a 5 minute giveaway with 1 winner where viewers type !enter

EmbellishingFrog:#giveaway !enter 1 5 minutes
PotatBotat:🎉 A giveaway has started! ● Type !enter to enter! ● Ends in 5m!

Start a 30 second giveaway with 3 winners

VaporizingLaptop783:#giveaway potato 3 30s
PotatBotat:🎉 A giveaway has started! ● Type potato to enter! ● Ends in 30s!