class

Dorsum::Twitch::Chat::Trigger

Inherits Reference < Object

Constructors

Instance methods

allow

List of roles (eg. ["mod", "subscriber"]) who may use the trigger. Default is empty.

Source
allow=(allow : Array(String))

List of roles (eg. ["mod", "subscriber"]) who may use the trigger. Default is empty.

Source
conditions

List of preconditions to annotations for activating the trigger. Default is empty.

Source
conditions=(conditions : Array(String))

List of preconditions to annotations for activating the trigger. Default is empty.

Source
cooldown

Command should not trigger a second time within the cooldown timespan.

Source
cooldown=(cooldown : Time::Span | Nil)

Command should not trigger a second time within the cooldown timespan.

Source
id

Unique identifier for the trigger.

Source
id=(id : UUID)

Unique identifier for the trigger.

Source
label

Returns a technical label which summarizes the full trigger.

Source
matches?(message : Message)
Source
reply(message : Message)
Source
reply

Reply to post to the channel when the trigger happens.

Source
reply=(reply : String | Nil)

Reply to post to the channel when the trigger happens.

Source
sensitive

False when the command may be any case (eg. !TITLE or !Title). Default is false.

Source
sensitive=(sensitive : Bool)

False when the command may be any case (eg. !TITLE or !Title). Default is false.

Source