GuildAnnouncementThreadChannel
Represents the implementation of a Discord Announcement thread channel.
Properties
ownerId
This property was inherited from Objects.BaseGuildThread
messageCount
This property was inherited from Objects.BaseGuildThread
memberCount
This property was inherited from Objects.BaseGuildThread
totalMessageSent
This property was inherited from Objects.BaseGuildThread
threadMetadata
archived: boolean,
autoArchiveDuration: number,
archiveTimestamp: string,
locked: boolean,
invitable: boolean?,
createTimestamp: string?,
}
This property was inherited from Objects.BaseGuildThread
availableTags
{ id: string,
name: string,
moderated: boolean,
emojiId: string?,
emojiName: string?,
}
This property was inherited from Objects.BaseGuildThread
appliedTags
This property was inherited from Objects.BaseGuildThread
defaultReactionEmoji
This property was inherited from Objects.BaseGuildThread
Methods
joinThreadAsync
Joins the current discord bot into the thread
This function was inherited from Objects.BaseGuildThread
addMemberToThreadAsync
GuildAnnouncementThreadChannel : addMemberToThreadAsync () -> Vendor.Future<unknown>
userId: string
Adds the passed member to the thread channel
This function was inherited from Objects.BaseGuildThread
leaveThreadAsync
Leaves the thread channel if the discord bot is in the channel.
This function was inherited from Objects.BaseGuildThread
removeMemberFromThreadAsync
GuildAnnouncementThreadChannel : removeMemberFromThreadAsync () -> Vendor.Future<unknown>
userId: string
Removes the passed user id from the current thread channel
This function was inherited from Objects.BaseGuildThread
getThreadMemberAsync
GuildAnnouncementThreadChannel : getThreadMemberAsync () -> Vendor.Future<{ DiscordGuildMember }>
userId: string
Returns a list of members that are active in the current thread channel
This function was inherited from Objects.BaseGuildThread
removeMemberFromThreadAsync
GuildAnnouncementThreadChannel : removeMemberFromThreadAsync () -> Vendor.Future<{ DiscordGuildMember }>
userId: string
Returns a list of members that are active in the current thread channel
This function was inherited from Objects.BaseGuildThread
Functions
The GuildAnnouncementThreadChannel instance has no set functions!