!sraffle
Twitch
Overview
The !sraffle
command allows streamers and moderators to start a raffle, typically allowing only a single entry per viewer. The command will randomly select one winner from all the viewers who entered using the !join
command.
Usage
To start a single-entry raffle:
!sraffle [win_points] [duration_seconds]
Important: By default, only users with Moderator permission level or higher can use this command.
Examples
Start a raffle awarding 10 points, lasting 10 seconds:
example chat
ModUser:
StreamElements:
Start a raffle using default settings (100 points, 30 seconds):
example chat
ModUser:
StreamElements:
Start a raffle awarding 0 points, lasting 60 seconds:
example chat
BroadcasterName:
StreamElements:
Parameters
[win_points]
(Optional): The amount of loyalty points awarded to the winner. Defaults to100
if not specified. Requires the Loyalty module to be active.[duration_seconds]
(Optional): How long the raffle entry period lasts (in seconds). Defaults to30
seconds if not specified.
Configuration
- Requires the Raffle module to be active (
Chatbot
->Modules
). - The command's permission level can be adjusted under
Chatbot
->Chat Commands
->Default Commands
. - Other settings like the default duration (in seconds) and raffle messages can be configured in the Raffle module settings on the Dashboard. The entry command is typically fixed to
!join
for!sraffle
.
Related Commands
!join
: The command viewers use to enter an active!sraffle
.!raffle
: (Moderator+) Starts a points-based, multi-entry raffle where points are spent to enter.!cancelraffle
: (Moderator+) Cancels the currently active raffle (!raffle
or!sraffle
).!giveaway
: Checks the status of the main channel giveaway.