# Functions
No description provided by the author
DurationSinceEpoch returns the duration from the Discord epoch to current.
No description provided by the author
No description provided by the author
HasFlag is returns true if has is in the flag.
MemberColor computes the effective color of the Member, taking into account the role colors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
AnimatedIcon is set, if the guild has access to set an animated guild icon.
No description provided by the author
AuditAnyID specifies the ID of the changed entity - sometimes used in conjunction with other keys.
AuditAnyType is the type of the entity created.
AuditChannelApplicationID contains the application ID of the added or removed webhook or bot.
AuditChannelBitrate gets sent if the voice channel bitrate changed.
AuditChannelNSFW gets sent if the channel NSFW restriction changed.
AuditChannelPermissionOverwrites gets sent if the permissions on a channel changed.
AuditChannelPosition gets sent if a text or voice channel position was changed.
AuditChannelRateLimitPerUser gets sent if the amount of seconds a user has to wait before sending another message changed.
AuditChannelTopic gets sent if the text channel topic changed.
AuditGuildAFKChannelID gets sent if the guild's afk channel changed.
AuditGuildAFKTimeout gets sent if the guild's afk timeout duration changed.
AuditGuildExplicitFilter gets sent if there was a change in whose messages are scanned and deleted for explicit content in the server.
AuditGuildIconHash gets sent if the guild's icon was changed.
AuditGuildMFA gets sent if the two-factor auth requirement changed.
AuditGuildName gets sent if the guild's name was changed.
AuditGuildNotification gets sent if the default message notification level changed.
AuditGuildOwnerID gets sent if the guild's owner changed.
AuditGuildPruneDeleteDays gets sent if there was a change in number of days after which inactive and role-unassigned members are kicked.
AuditGuildRegion gets sent if the guild's region changed.
AuditGuildRoleAdd gets sent if a new role was added.
AuditGuildRoleRemove gets sent if a role was removed.
AuditGuildSplashHash gets sent if the guild's invite splash page artwork was changed.
AuditGuildSystemChannelID gets sent if the ID of the guild's system channel changed.
AuditGuildVanityURLCode gets sent if the guild invite vanity URL changed.
AuditGuildVerification gets sent if the guild's required verification level changed
Type: Verification.
AuditGuildWidgetChannelID gets sent if the channel ID of the guild widget changed.
AuditGuildWidgetEnabled gets sent if the guild's widget was enabled/disabled.
AuditIntegrationEnableEmoticons gets sent if the integration emoticons were enabled/disabled.
AuditIntegrationExpireBehavior gets sent if the integration expiring subscriber behavior changed.
AuditIntegrationExpireGracePeriod gets sent if the integration expire grace period changed.
AuditInviteChannelID gets sent if the channel for an invite code changed.
AuditInviteCode gets sent if an invite code changed.
AuditInviteInviterID specifies the person who created invite code changed.
AuditInviteMaxAge specifies the how long invite code lasts changed.
AuditInviteMaxUses specifies the change to max number of times invite code can be used.
AuditInviteTemporary specifies if an invite code is temporary/never expires.
AuditInviteUses specifies the number of times invite code used changed.
AuditRoleAllow gets sent if a permission on a text or voice channel was allowed for a role.
AuditRoleColor gets sent if the role color changed.
AuditRoleDeny gets sent if a permission on a text or voice channel was denied for a role.
AuditRoleHoist gets sent if the role is now displayed/no longer displayed separate from online users.
AuditRoleMentionable gets sent if a role is now mentionable/unmentionable.
AuditRolePermissions gets sent if the permissions for a role changed.
AuditUserAvatar specifies the hash of the new user avatar.
AuditUserDeaf specifies if the user was server deafened/undeafened.
AuditUserMute specifies if the user was server muted/unmuted.
AuditUserNick specifies the new nickname of the user.
AutoImage chooses automatically between a PNG and GIF.
Banner is set, if the guild has access to set a guild banner image.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
Commerce is set, if the guild has access to use commerce features (i.e.
No description provided by the author
No description provided by the author
$emoji $state.
Guild.MaxPresences is this value when it's 0.
No description provided by the author
Discoverable is set, if the guild is able to be discovered in the directory.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-object-mfa-level.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
Epoch is the Discord epoch constant in time.Duration (nanoseconds) since Unix epoch.
Featurable is set, if the guild is able to be featured in the directory.
No description provided by the author
Playing $name.
GIFImage is the GIF image type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
InviteSplash is set, if the guild has access to set an invite splash background.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JPEGImage is the JPEG image type.
No description provided by the author
Listening to $name.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
News is set, if the guild has access to create news channels.
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-object-mfa-level.
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NullSecond is used in cases where null should be used instead of a number or omitted.
NullSnowflake gets encoded into a null.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OverwriteMember is an overwrite for a member.
OverwriteRole is an overwrite for a role.
No description provided by the author
Partnered is set, if the guild is partnered.
No description provided by the author
PNGImage is the PNG image type.
Public is set, if the guild is public.
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
Streaming $details.
SuppressJoinNotifications suppresses member join notifications.
SuppressPremiumSubscriptions suppresses server boost notifications.
No description provided by the author
No description provided by the author
No description provided by the author
same as ISO8601.
No description provided by the author
No description provided by the author
VanityURL is set, if the guild has access to set a vanity URL.
Verified is set, if the guild is verified.
No description provided by the author
No description provided by the author
No description provided by the author
VIPRegions is set, if the guild has access to set 384kbps bitrate in voice (previously VIP voice servers).
Watching $name.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
WebPImage is the WebP image type.
No description provided by the author
# Variables
AllMembers enables content filtering for all members.
AllMessages sends notifications for all messages.
No description provided by the author
No description provided by the author
DefaultMemberColor is the color used for members without colored roles.
DirectMessage is a direct message between users.
GroupDM is a direct message between multiple users.
GuildCategory is an organizational category that contains up to 50 channels.
GuildNews is a channel that users can follow and crosspost into their own server.
GuildStore is a channel in which game developers can sell their game on Discord.
GuildText is a text channel within a server.
GuildVoice is a voice channel within a server.
HighVerification requires the member be in the server for more than 10 minutes.
Kick kicks the subscriber from the guild.
LowVerification requires a verified email.
MediumVerification requires the user be registered for at least 5 minutes.
MembersWithoutRoles filters only members without roles.
No description provided by the author
NoContentFilter disables content filtering for the guild.
NoVerification required no verification.
NullExplicitFilter serialized to JSON null.
No description provided by the author
NullNotification serialized to JSON null.
NullVerification serialized to JSON null.
OnlyMentions sends notifications only on mention.
Allows for the addition of reactions to messages.
Allows all permissions and bypasses channel permission overwrites.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Allows for uploading images and files.
Allows banning members.
Allows for modification of own nickname.
Allows for joining of a voice channel.
Allows creation of instant invites.
Allows for deafening of members in a voice channel.
Links sent by users with this permission will be auto-embedded.
Allows kicking members.
Allows management and editing of channels.
Allows management and editing of emojis.
Allows management and editing of the guild.
Allows for deletion of other users messages.
Allows for modification of other users nicknames.
Allows management and editing of roles.
Allows management and editing of webhooks.
Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all online users in a channel.
Allows for moving of members between voice channels.
Allows for muting members in a voice channel.
Allows for using priority speaker in a voice channel.
Allows for reading of message history.
Allows for sending messages in a channel.
Allows for sending of /tts messages.
Allows for speaking in a voice channel.
Allows the user to go live.
Allows the usage of custom emojis from other servers.
Allows for using voice-activity-detection in a voice channel.
Allows for viewing of audit logs.
Allows guild members to view a channel, which includes reading messages in text channels.
RemoveRole removes the role of the subscriber.
No description provided by the author
No description provided by the author
No description provided by the author
VeryHighVerification requires the member to have a verified phone number.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info.
https://discord.com/developers/docs/resources/audit-log#audit-log-object.
AuditLogChange is a single key type to changed value audit log entry.
AuditLogEntry is a single entry in the audit log.
https://discord.com/developers/docs/resources/guild#ban-object.
https://discord.com/developers/docs/resources/channel#channel-object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-object.
https://discord.com/developers/docs/resources/guild#guild-preview-object.
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-widget-object.
https://discord.com/developers/docs/resources/guild#integration-object.
Invite represents a code that when used, adds a user to a guild or group DM channel.
Extra information about an invite, will extend the invite object.
https://discord.com/developers/docs/resources/guild#guild-member-object
The field user won't be included in the member object attached to MESSAGE_CREATE and MESSAGE_UPDATE gateway events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#overwrite-object.
https://discord.com/developers/docs/topics/gateway#presence-update.
No description provided by the author
A Relationship between the logged in user and the user in the struct.
https://discord.com/developers/docs/topics/permissions#role-object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AuditLogEvent is the type of audit log action that occurred.
No description provided by the author
ChannelOverwritten is the type of overwritten entity in (AuditEntryInfo).Type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExpireBehavior is the integration expire behavior that regulates what happens, if a subscriber expires.
ExplicitFilter is the explicit content filter level of a guild.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/invite#invite-object-target-user-types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MFALevel is the required MFA level for a guild.
Milliseconds is in float64 because some Discord events return time with a trailing decimal.
NitroBoost is the premium tier (Server Boost level).
Notification is the default message notification level of a guild.
No description provided by the author
No description provided by the author
RelationshipType is an enum for a relationship.
No description provided by the author
No description provided by the author
Service is used for guild integrations and user connections.
No description provided by the author
No description provided by the author
No description provided by the author
Timestamp has a valid zero-value, which can be checked using the IsValid() method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Verification is the verification level required for a guild.
No description provided by the author
No description provided by the author