class Tourmaline::Handlers::HearsHandler

Defined in:

tourmaline/handlers/hears_handler.cr

Constant Summary

ANNOTATION = Hears

Constructors

Instance Method Summary

Instance methods inherited from class Tourmaline::EventHandler

call(client : Client, update : Update) call, group : String group, priority : Int32 priority

Constructor methods inherited from class Tourmaline::EventHandler

new(group = :default, priority = 0) new

Constructor Detail

def self.new(pattern : String | Regex, group = :default, priority = 0, &block : Context -> ) #

[View source]

Instance Method Detail

def call(client : Client, update : Update) #

[View source]
def pattern : Regex #

[View source]