Worker::MessageHandler
Inherits Reference < Object
Turn messages into command calls
Constants
COMMAND_NAME_REGEX = /[a-zа-я]+/
DM_PREFIX = {string: "", allow_whitespace: true}
DOWNCASE_COMMAND_NAME = true
Log = Worker::Log.for("message_handler")
OPTION_PREFIX = "--"
OPTION_SEPARATOR = "="
Constructors
Instance methods
handle(text : String, context : CommandCall::Context) : Array(CommandCall)
Source