home commands wiki

!event

Delay 1 seconds
Subcommands on, off, list, edit, settarget, setmassping, call, view
Aliases -
Minimal rights moderator

This command is for broadcaster and moderators only.

The !event command gives the ability to manage events.

Event types

Twitch livestreams

  • live
  • offline
  • title
    • Placeholders: {new} - new title, {old} - old title
    • Message example: This streamer has changed the title - {new} (previously, it was {old})
  • game
    • Placeholders: {new} - new game, {old} - old game
    • Message example: This streamer is now playing {new} (previously, he played {old})

Kick livestreams

  • kick_live
  • kick_offline
  • kick_title
    • Placeholders: {new} - new title, {old} - old title
    • Message example: This streamer has changed the title - {new} (previously, it was {old})
  • kick_game
    • Placeholders: {new} - new game, {old} - old game
    • Message example: This streamer is now playing {new} (previously, he played {old})

Version Control System

  • github
    • Placeholders: {sha} - commit ID, {author} - committer, {msg} - message
    • Message example: {author} made a new commit in linux kernel: {msg} (ID {sha})
    • Target example: torvalds/linux:github - Note that the event name has the following format: username/repository

7TV

  • 7tv_new_emote
    • Placeholders: {emote} - emote name, {old_emote} - original emote name, {author} - name of the person who added it
    • Message example: {author} added a new 7TV emote: {emote} (originally {old_emote})
  • 7tv_deleted_emote

    • Placeholders: {emote} - emote name, {old_emote} - original emote name, {author} - name of the person who deleted it
    • Message example: {author} added a new 7TV emote: {emote} (originally {old_emote})
  • 7tv_updated_emote

    • Placeholders: {emote} - new emote name, {old_emote} - previous emote name, {author} - name of the person who updated it
    • Message example: {author} renamed a 7TV emote from {old_emote} to {emote}

BetterTTV

  • bttv_new_emote
    • Placeholders: {emote} - emote name, {old_emote} - original emote name
    • Message example: New BTTV emote: {emote} (originally {old_emote})
  • bttv_deleted_emote

    • Placeholders: {emote} - emote name, {old_emote} - original emote name
    • Message example: BTTV emote {emote} has been removed
  • bttv_updated_emote

    • Placeholders: {emote} - new emote name, {old_emote} - previous emote name
    • Message example: BTTV emote {old_emote} has been renamed to {emote}

Feed

  • rss
    • Placeholders: {channel_name} - channel name, {message} - message content, {link} - message link
    • Message example: new post on ilt.su: {message} ({link})
    • Target example: https://ilt.su/rss.xml:rss
  • telegram

    • Placeholders: {channel_name} - channel name, {message} - message content, {link} - message link
    • Message example: Durov posted a new Telegram post: {message} ({link})
    • Target example: forsen:twitter
  • twitter

    • Placeholders: {channel_name} - channel name, {message} - message content, {link} - message link
    • Message example: New post ({channel_name}): {message} ({link})
    • Target example: durov:telegram

Syntax

[target] is short for [name]:[type]. For [name], look for Target example in your event type. If there is no such field, use Twitch username.

Create a new event

!event on [target] [message...]

  • [target] - Event target.
  • [message] - The message that will be sent with the event.

Delete the event

!event off [target]

  • [target] - Event target.

Make the event massping everytime

!event setmassping [target]

  • [target] - Event target.

Edit the event message

!event edit [target] [message...]

  • [target] - Event target.
  • [message] - New message.

Set a new target for the event

!event settarget [target] [new_target]

  • [target] - Current event target.
  • [new_target] - New event target.

Call the event

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

!event call [target]

  • [target] - Event target.

View the event

!event view [target]

  • [target] - Event target.