Skip to content

HearsHandler

class Tourmaline::Handlers::HearsHandler
inherits Tourmaline::EventHandler #

Constants#

ANNOTATION = Hears #

Class methods#

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

Methods#

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

#pattern : Regex #