discordcr
master
Discord
Activity
ActivityType
AllowedMentions
APIError
Attachment
AutoArchiveDuration
Cache
CDN
ApplicationAssetFormat
ApplicationIconFormat
CustomEmojiFormat
GuildIconFormat
GuildSplashFormat
UserAvatarFormat
Channel
ChannelType
Client
CompressMode
CodeException
Connection
DCA1Mappings
DCA
Info
Metadata
Opus
Origin
Tool
DCAParser
Embed
EmbedAuthor
EmbedField
EmbedFooter
EmbedImage
EmbedProvider
EmbedThumbnail
EmbedVideo
Emoji
GamePlaying
Type
Gateway
ChannelPinsUpdatePayload
GuildBanPayload
GuildCreatePayload
GuildDeletePayload
GuildEmojiUpdatePayload
GuildIntegrationsUpdatePayload
GuildMemberAddPayload
GuildMemberRemovePayload
GuildMembersChunkPayload
GuildMemberUpdatePayload
GuildRoleDeletePayload
GuildRolePayload
HelloPayload
IdentifyPacket
IdentifyPayload
IdentifyProperties
Intents
InviteCreatePayload
InviteDeletePayload
MessageDeleteBulkPayload
MessageDeletePayload
MessageReactionPayload
MessageReactionRemoveAllPayload
MessageReactionRemoveEmojiPayload
MessageUpdatePayload
PresenceUpdatePayload
ReadyPayload
RequestGuildMembersPacket
ResumedPayload
ResumePacket
Session
ShardKey
StatusUpdatePacket
ThreadListSyncPayload
ThreadMembersUpdatePayload
TypingStartPayload
VoiceServerUpdatePayload
VoiceStateUpdatePacket
WebhooksUpdatePayload
Guild
GuildBan
GuildEmbed
GuildMember
Integration
IntegrationAccount
Invite
InviteChannel
InviteGuild
InviteMetadata
Mention
Channel
Emoji
Everyone
Here
MentionType
Role
User
Message
MessageFlags
MessageReference
MessageType
OAuth2Application
Overwrite
Paginator
Direction
PartialGuildMember
PartialUser
Permissions
Presence
PrivateChannel
Reaction
ReactionEmoji
REST
ChannelParent
GatewayBotResponse
GatewayResponse
GuildVanityURLResponse
ModifyChannelPositionPayload
ModifyRolePositionPayload
PruneCountResponse
RateLimitKey
SessionStartLimit
ThreadsPayload
Role
RoleTags
Snowflake
StageInstance
StagePrivacyLevel
StatusException
Team
TeamMember
TeamMembershipState
ThreadMember
ThreadMetaData
UnavailableGuild
User
UserFlags
UserGuild
VideoQualityMode
VoiceClient
VoiceRegion
VoiceState
VoiceUDP
Webhook
WebSocket
UInt64
struct
Discord::APIError
Discord::APIError
Struct
Value
Object
Overview
An API error response.
Included Modules
JSON::Serializable
Defined in:
discordcr/errors.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#code
: Int32
#code=
(code : Int32)
#message
: String
#message=
(message : String)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
code
: Int32
#
[
View source
]
def
code=
(code : Int32)
#
[
View source
]
def
message
: String
#
[
View source
]
def
message=
(message : String)
#
[
View source
]