announcementChannel
announcementChannel: null | AnnouncementChannel
announcementChannels
announcementChannels: null | Collection<string, AnnouncementChannel>
bigint
bigint: null | bigint
categoryChannel
categoryChannel: null | CategoryChannel
categoryChannels
categoryChannels: null | Collection<string, CategoryChannel>
channel
channel: null | GuildBasedChannel
channelMention
channelMention: null | GuildChannel | ThreadChannel<boolean>
channels
channels: null | Collection<string, GuildBasedChannel>
charCodes
charCodes: null | number[]
color
color: null | number
directoryChannel
directoryChannel: null | DirectoryChannel
directoryChannels
directoryChannels: null | Collection<string, DirectoryChannel>
emojiMention
emojiMention: null | GuildEmoji
emojint
emojint: null | number
emojis
emojis: null | Collection<string, Emoji>
forumChannel
forumChannel: null | ForumChannel
forumChannels
forumChannels: null | Collection<string, ForumChannel>
guildMessage
guildMessage: null | Message<true>
guilds
guilds: null | Collection<string, Guild>
integer
integer: null | number
invite
invite: null | Invite
lowercase
lowercase: null | string
member
member: null | GuildMember
memberMention
memberMention: null | GuildMember
members
members: null | Collection<string, GuildMember>
message
message: null | Message<boolean>
number
number: null | number
relevant
relevant: null | User | GuildMember
relevantMessage
relevantMessage: null | Message<boolean>
relevants
relevants: null | Collection<string, GuildMember> | Collection<string, User>
roleMention
roleMention: null | Role
roles
roles: null | Collection<string, Role>
stageChannel
stageChannel: null | StageChannel
stageChannels
stageChannels: null | Collection<string, StageChannel>
string
string: null | string
textBasedChannel
textBasedChannel: null | TextBasedChannel
textBasedChannels
textBasedChannels: null | Collection<string, TextBasedChannel>
textChannel
textChannel: null | TextChannel
textChannels
textChannels: null | Collection<string, TextChannel>
threadChannel
threadChannel: null | ThreadChannel<boolean>
threadChannels
threadChannels: null | Collection<string, ThreadChannel<boolean>>
uppercase
uppercase: null | string
userMention
userMention: null | User
users
users: null | Collection<string, User>
voiceBasedChannel
voiceBasedChannel: null | VoiceBasedChannel
voiceBasedChannels
voiceBasedChannels: null | Collection<string, VoiceBasedChannel>
voiceChannel
voiceChannel: null | VoiceChannel
voiceChannels
voiceChannels: null | Collection<string, VoiceChannel>
stringdoes not cast to any type.lowercasemakes the input lowercase.uppercasemakes the input uppercase.charCodestransforms the input to an array of char codes.numbercasts to a number.integercasts to an integer.bigintcasts to a big integer.urlcasts to anURLobject.datecasts to aDateobject.colorcasts a hex code to an integer.commandAliastries to resolve to a command from an alias.commandmatches the ID of a command.inhibitormatches the ID of an inhibitor.listenermatches the ID of a listener.taskmatches the ID of a task.contextMenuCommandmatches the ID of a context menu command.Possible Discord-related types. These types can be plural (add an 's' to the end) and a collection of matching objects will be used.
usertries to resolve to a user.membertries to resolve to a member.relevanttries to resolve to a relevant user, works in both guilds and DMs.channeltries to resolve to a channel.textChanneltries to resolve to a text channel.voiceChanneltries to resolve to a voice channel.categoryChanneltries to resolve to a category channel.announcementChanneltries to resolve to a announcement channel.stageChanneltries to resolve to a stage channel.threadChanneltries to resolve a thread channel.directoryChanneltries to resolve to a directory channel.roletries to resolve to a role.emojitries to resolve to a custom emoji.guildtries to resolve to a guild.Other Discord-related types:
messagetries to fetch a message from an ID within the channel.guildMessagetries to fetch a message from an ID within the guild.relevantMessageis a combination of the above, works in both guilds and DMs.invitetries to fetch an invite object from a link.userMentionmatches a mention of a user.memberMentionmatches a mention of a guild member.channelMentionmatches a mention of a channel.roleMentionmatches a mention of a role.emojiMentionmatches a mention of an emoji.