shungites.casa

do you know what shungite is?

User Tools

Site Tools


bot:commands:event

This is an old revision of the document!


!event

← Go back

Delay 1 second
Subcommands on, off, list, edit, target, massping, call, view
Aliases -
Minimal rights Moderator

Event types

Twitch

  1. twitch.live
  2. twitch.offline
  3. twitch.title
    • Placeholders: {new} - new title
    • Message example: This streamer has changed the title - {new}
  4. twitch.game
    • Placeholders: {new} - new game
    • Message example: This streamer is now playing {new}
  5. twitch.first-message
    • Placeholders: {message} - user's first message, {author} - username
    • Message example: {author} has just said their first words in #forsen: {message}
    • Target example: forsen:twitch.first-message
    • Note: To receive the first messages, the bot must be in the target channel.

Kick

  1. kick.live
  2. kick.offline
  3. kick.title
    • Placeholders: {new} - new title
    • Message example: This streamer has changed the title - {new}
  4. kick.game
    • Placeholders: {new} - new game
    • Message example: This streamer is now playing {new}

7TV

  1. 7tv.added-emote
    • Placeholders: {new} - emote name, {old} - original emote name
    • Message example: New 7TV emote: {new} (originally {old})
    • Target example: xqc:7tv.added-emote
  2. 7tv.deleted-emote
    • Placeholders: {new} - emote name, {old} - original emote name
    • Message example: 7TV emote {new} (originally {old}) has been removed
    • Target example: xqc:7tv.deleted-emote
  3. 7tv.renamed-emote
    • Placeholders: {new} - new emote name, {old} - previous emote name
    • Message example: 7TV emote {old} has been renamed to {new}
    • Target example: xqc:7tv.renamed-emote

BetterTTV

  1. bttv.added-emote
    • Placeholders: {new} - emote name, {old} - original emote name
    • Message example: New BTTV emote: {new} (originally {old})
    • Target example: forsen:bttv.added-emote
  2. bttv.deleted-emote
    • Placeholders: {new} - emote name, {old} - original emote name
    • Message example: BTTV emote {new} (originally {old}) has been removed
    • Target example: forsen:bttv.deleted-emote
  3. bttv.renamed-emote
    • Placeholders: {new} - new emote name, {old} - previous emote name
    • Message example: BTTV emote {old} has been renamed to {new}
    • Target example: forsen:bttv.renamed-emote

Social media

  1. telegram.post
    • Placeholders: {message} - message content, {link} - post link
    • Message example: Durov posted a new Telegram post: {message} ({link})
    • Target example: durov:telegram.post
  2. twitter.post
    • Placeholders: {message} - message content, {link} - post link
    • Message example: Notch posted a new tweet: {message} ({link})
    • Target example: notch:twitter.post

Miscellaneous

  1. rss

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/Kick 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 massping [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 target [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.

Check the source code

bot/commands/event.1790157955.txt.gz · Last modified: by soysen

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki