#giveaway
Start a giveaway
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
inputOptional Text, the rest of the messageThe trigger (unless given with the trigger flag), number of winners and duration of the giveaway
Flags 10
-announce-a Switch Moderators onlySend the messages as a announcement in the channel.
#giveaway <trigger> <number of winners> <duration> --announceoutput:Text Moderators onlyCustomize the response for the start of the giveaway.
#giveaway <trigger> <number of winners> <duration> output:"custom message"trigger:RegexThe trigger for the giveaway entry, can be a regular expression or a phrase with spaces
#giveaway trigger:"regular expression or phrase" 1 5 minutes-subsSwitchOnly subscribers may win.
#giveaway <trigger> <number of winners> <duration> --subsmonths:+intOnly subscribers whose badge shows at least this many months may win.
#giveaway <trigger> <number of winners> <duration> months:6roles:TextOnly these roles may win: broadcaster, leadmod, mod, vip. Separate several with a comma.
#giveaway <trigger> <number of winners> <duration> roles:mod,vipexclude:TextThese roles may not win: broadcaster, leadmod, mod, vip. Separate several with a comma.
#giveaway <trigger> <number of winners> <duration> exclude:mod,broadcasterbadges:TextOnly 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
Start a 30 second giveaway with 3 winners