Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
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
Snowflake
StageInstance
StagePrivacyLevel
StatusException
Team
TeamMember
TeamMembershipState
ThreadMember
ThreadMetaData
UnavailableGuild
User
UserFlags
UserGuild
VideoQualityMode
VoiceClient
VoiceRegion
VoiceState
VoiceUDP
Webhook
WebSocket
UInt64
Generated using Crystal 1.10.1
2024-01-09 19:17:07 UTC
struct
Discord::
GuildBan
Discord::GuildBan
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
discordcr/mappings/guild.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#reason
: String | Nil
#reason=
(reason : String | Nil)
#user
: User
#user=
(user : User)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
reason
: String | Nil
#
[
View source
]
def
reason=
(reason : String | Nil)
#
[
View source
]
def
user
:
User
#
[
View source
]
def
user=
(user :
User
)
#
[
View source
]