Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Integrations::DiscordBot::Command
Inherits
Struct
<
Value
<
Object
Constructors
create_thread
(channel_id :
UInt64
, thread_name :
String
) : self
Source
defer_interaction
(interaction_id :
UInt64
, interaction_token :
String
) : self
Source
edit_interaction_response
(interaction_token :
String
, content :
String
) : self
Source
new
(kind :
Kind
, channel_id :
UInt64
|
Nil
= nil, content :
String
|
Nil
= nil, interaction_id :
UInt64
|
Nil
= nil, interaction_token :
String
|
Nil
= nil, thread_name :
String
|
Nil
= nil)
Source
send_message
(channel_id :
UInt64
, content :
String
) : self
Source
trigger_typing
(channel_id :
UInt64
) : self
Source
Instance methods
channel_id
Source
content
Source
interaction_id
Source
interaction_token
Source
kind
Source
thread_name
Source
Nested types
Crig::Integrations::DiscordBot::Command::Kind