iLotterytea's Twitch Bot
Bot's Twitch PageSource code
  • 👋Introduction
  • 🚪How do I make the bot join my chat?
  • 💽Commands
    • 📺Channel management
      • Timers
      • Settings
      • Custom commands
    • 🛰️Stream events and notifications
      • Stream events
      • Stream notifications
    • 😀Emote management
      • Check the usage of emote
      • Emote usage leaderboard
      • Emote set similarity check
    • ⚔️Moderation management
      • Mass ping
      • Spam
    • 👤User management
      • User ban check
    • 🥪Miscellaneous
      • Minecraft server status check
      • Get today's holidays
      • Ping!
  • 🚨Error codes
Powered by GitBook
On this page
  • Event types
  • Syntax
  • Create a new event
  • Delete the event
  • Call the event
  • Usage
  • Creating a new event
  • Deleting the event
  • Calling the event
  • Responses
  • Creating a new event
  • Deleting the event
  • Calling the event
  • Important notes
  • Error handling
  1. Commands
  2. Stream events and notifications

Stream events

This command is for broadcaster only

The !event command gives broadcasters the ability to manage events for streams.

Event types

  • live

  • offline

  • title

  • game

  • custom

Syntax

Create a new event

!event on <name>:<type> <message...>

  • <name> - Twitch username or event name (custom type only).

  • <type> - Event type.

  • <message> - The message that will be sent with the event.

Delete the event

!event off <name>:<type>

  • <name> - Twitch username or event name (custom type only).

  • <type> - Event type.

Call the event

The bot requires moderator privileges on events with the "massping" flag.

!event call <name>:<type>

  • <name> - Twitch username or event name (custom type only).

  • <type> - Event type.

Usage

Creating a new event

  • !event on forsen:live forsen live!

Deleting the event

  • !event off forsen:live

Calling the event

  • !event call forsen:live

Responses

Creating a new event

  • A new "forsen:live" event has been successfully created! It will send a message when the event occurs.

Deleting the event

  • The "forsen:live" (ID ...) event has been successfully deleted!

Calling the event

  • ⚡ forsen live!

Important notes

  • If the specified event name does not belong to a Twitch user, the event type will automatically be considered custom.

Error handling

Last updated 1 year ago

💽
🛰️
Error 0: Not enough arguments
Error 2: Incorrect argument
Error 3: Insufficient rights
Error 11: Namesake creation
Error 12: Not found
Error 127: Something went wrong