Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Command
Inherits
Reference
<
Object
Constructors
get_command
(ircm :
IRCMessage
) :
Command
Source
new
(name :
String
, description :
String
, &proc :
IRCMessage
->
String
)
Source
Class methods
all
Source
is_command?
(ircm :
IRCMessage
) :
Bool
Source
link
Source
link=
(nl :
String
)
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
Command::Update