Skip to content

!ticket

Twitch
Access
Everyone
Requires
Giveaway module
Aliases
!enter

The !ticket command allows viewers to purchase tickets for ongoing giveaways using their loyalty points. This command enables participation in raffles hosted through the StreamElements loyalty system.

To purchase tickets, type !ticket in the chat, optionally followed by the number of tickets you wish to buy. If no number is specified, it defaults to purchasing one ticket.

Syntax:

!ticket [number_of_tickets]
  1. Buying a single ticket:

    Example chat
    ViewerName:!ticket
    partner badgemoderator badgeStreamElements:@viewer, you successfully bought 1 ticket!
  2. Buying multiple tickets:

    Example chat
    ViewerName:!ticket 5
    partner badgemoderator badgeStreamElements:@viewer, you successfully bought 5 tickets!

    (Note: The reply is only sent if enabled by the streamer)

Parameter Type Description
number_of_tickets Optional The number of tickets to purchase. Defaults to 1 if omitted. Must be a positive whole number.

Streamers configure giveaway settings, including ticket cost and the maximum number of tickets a viewer can purchase per giveaway, through the StreamElements dashboard under Loyalty -> Giveaways.

  • !giveaway: Checks the status of the currently active giveaway.
  • !points: Allows users to check their current loyalty points balance.
  • What happens if I try to buy more tickets than I have points for? The command will fail, and you won’t purchase any tickets. You might receive an error message depending on the bot’s configuration, or the command might silently fail.
  • Can I buy tickets if there’s no giveaway running? No, the !ticket command only works when a giveaway is active.
  • Is there a maximum number of tickets I can buy? Yes, the streamer sets a maximum number of tickets per user for each giveaway in the StreamElements dashboard.