Dorsum::Twitch::Chat::Trigger
Inherits Reference < Object
Constructors
new
SourceInstance methods
allow=(allow : Array(String))
List of roles (eg. ["mod", "subscriber"]) who may use the trigger. Default is empty.
conditions=(conditions : Array(String))
List of preconditions to annotations for activating the trigger. Default is empty.
cooldown=(cooldown : Time::Span | Nil)
Command should not trigger a second time within the cooldown timespan.
matches?(message : Message)
Sourcereply(message : Message)
Sourcesensitive=(sensitive : Bool)
False when the command may be any case (eg. !TITLE or !Title). Default is false.