Skip to content

context_data_index

caubert edited this page Feb 26, 2024 · 5 revisions

Context Data Index

# .
.Args
.BotUser
.CCID
.CCNote
.CCRunCount
.CCTrigger
.Cmd
.CmdArgs
.DomainRegex
.GuildPrefix
.IsMessageEdit
.IsPremium
.LinkRegex
.ModlogID
.Permissions
.ReportlogID
.ServerPrefix
.StrippedMsg
.ThanksRegex

# .Channel
.Bitrate
.GuildID
.ID
.IsPrivate
.IsThread
.Mention
.Name
.NSFW
.ParentID
.PermissionOwerwrite
.Position
.RateLimitPerUser
.Topic
.Type

# .Guild .Server
.AfkChannelID
.AfkTimeout
.Channels
.DefaultMessageNotifications
.Emojis
.ExplicitContentFilter
.Features
.Icon
.ID
.MemberCount
.MfaLevel
.Name
.OwnerID
.PreferredLocale
.Roles
.Splash
.SystemChannelID
.VerificationLevel
.VoiceStates
.WidgetChannelID
.WidgetEnabled

# method for .Guild .Server
.BannerURL
.DiscoverySplashURL
.GetChannel
.GetEmoji
.GetMemberPermissions
.GetRole
.GetVoiveState
.IconURL
.SplashURL

# .Member
.Avatar
.GuildID
.JoinedAt
.Nick
.Pending
.Roles
.TimeoutExpires
.User

## methods for .Member
.AvatarURL
.DisplayName

# .Message
.Attachments
.Author
.ChannelID
.Content
.ContentWithMentionsReplaced
.EditedTimestamp
.Embeds
.GuildID
.ID
.Interaction
.Link
.Member
.MentionEveryone
.MentionRoles
.Mentions
.MessageReference
.Pinned
.Reactions
.ReferencedMessage
.Stickers
.Timestamp
.TTS
.Type
.WebhookID

# .Reaction
.Emoji.APIName
.Emoji.MessageFormat
.Message
.ReactionAdded
.ReactionMessage

# .User
.Avatar
.Bot
.Discriminator
.ID
.Mention
.String
.Username
.UsernameHasInvite
.RealUsername

## method for .User
.AvatarURL
.BannerURL

# Custom Types
## method for templates.SDict
.Del
.Get
.HasKey
.Set

## method for templates.Slice
.Append
.AppendSlice
.Del
.Set
.StringSlice

# DBEntry
.ID
.GuildID
.UserID
.CreatedAt
.UpdatedAt
.ExpiresAt
.Key
.Value
.ValueSize

# Tickets
.AuthorID
.AuthorUsernameDiscrim
.ChannelID
.ClosedAt
.CreatedAt
.GuildID
.LocalID
.LogsID
.Title

# Time
.DiscordEpoch
.GuildEpoch
.TimeHour
.TimeMinute
.TimeSecond
.UnixEpoch
Clone this wiki locally