class

Command

Inherits Reference < Object

Constructors

get_command(ircm : IRCMessage) : Command
Source
new(name : String, description : String, &proc : IRCMessage -> String)
Source

Class methods

is_command?(ircm : IRCMessage) : Bool
Source
naughty?(args : Array(String)) : Bool

tries to use a twitch chat command 🤬

Source
parse_ircm(ircm : IRCMessage) : Tuple(Model::Ducky | Nil, Array(String))
Source
static
Source
static=(new_static : Array(String))
Source

Instance methods

call(ircm : IRCMessage) : String
Source
description
Source
name
Source

Nested types