BaseGuildThread
A base discord Thread channel, all discord threads extend from.
Properties
ownerId
messageCount
memberCount
totalMessageSent
threadMetadata
archived: boolean,
autoArchiveDuration: number,
archiveTimestamp: string,
locked: boolean,
invitable: boolean?,
createTimestamp: string?,
}
availableTags
{ id: string,
name: string,
moderated: boolean,
emojiId: string?,
emojiName: string?,
}
appliedTags
defaultReactionEmoji
lastPinTimestamp
This property was inherited from Objects.BaseGuildTextChannel
lastMessageId
This property was inherited from Objects.BaseGuildTextChannel
Methods
joinThreadAsync
Joins the current discord bot into the thread
addMemberToThreadAsync
Adds the passed member to the thread channel
leaveThreadAsync
Leaves the thread channel if the discord bot is in the channel.
removeMemberFromThreadAsync
Removes the passed user id from the current thread channel
getThreadMemberAsync
Returns a list of members that are active in the current thread channel
removeMemberFromThreadAsync
BaseGuildThread : removeMemberFromThreadAsync () -> Vendor.Future<{ DiscordGuildMember }>
userId: string
Returns a list of members that are active in the current thread channel
triggerTypingIndicator
BaseGuildThread : triggerTypingIndicator () -> Vendor.Future
Triggers the typing indicator in the channel.
This function was inherited from Objects.BaseGuildTextChannel
getMessagesAsync
BaseGuildThread : getMessagesAsync () -> Vendor.Future
limit: number?
Gets messages from the channel asynchronously.
This function was inherited from Objects.BaseGuildTextChannel
getMessageAsync
BaseGuildThread : getMessageAsync () -> Vendor.Future
messageId: string
Gets a specific message from the channel asynchronously.
This function was inherited from Objects.BaseGuildTextChannel
bulkDeleteMessagesAsync
Deletes multiple messages from the channel asynchronously.
This function was inherited from Objects.BaseGuildTextChannel
sendMessageAsync
BaseGuildThread : sendMessageAsync () -> Vendor.Future
messageBuilder: MessageBuilder
Sends a message to the channel asynchronously.
This function was inherited from Objects.BaseGuildTextChannel
getPinnedMessagesAsync
Retrieves the pinned messages in the text channel asynchronously.
This function was inherited from Objects.BaseGuildTextChannel
Functions
The BaseGuildThread instance has no set functions!