class Tourmaline::CommandHandler

Defined in:

tourmaline/handlers/command_handler.cr

Constructors

Instance Method Summary

Instance methods inherited from class Tourmaline::EventHandler

actions : Array(UpdateAction) actions, call(ctx : Tourmaline::Context) call

Constructor Detail

def self.new(commands : String | Array(String), proc : EventHandlerProc) #

[View source]
def self.new(commands : String | Array(String), &block : EventHandlerProc) #

[View source]

Instance Method Detail

def actions : Array(UpdateAction) #

[View source]
def call(ctx : Context) #

[View source]
def commands : Array(String) #

[View source]