Skip to content

GuildAnnouncementThreadChannel

Represents the implementation of a Discord Announcement thread channel.

Properties

ownerId

GuildAnnouncementThreadChannel.ownerId  :: string

This property was inherited from Objects.BaseGuildThread

messageCount

GuildAnnouncementThreadChannel.messageCount  :: number

This property was inherited from Objects.BaseGuildThread

memberCount

GuildAnnouncementThreadChannel.memberCount  :: number

This property was inherited from Objects.BaseGuildThread

totalMessageSent

GuildAnnouncementThreadChannel.totalMessageSent  :: number

This property was inherited from Objects.BaseGuildThread

threadMetadata

GuildAnnouncementThreadChannel.threadMetadata  :: {
       archived: boolean,
       autoArchiveDuration: number,
       archiveTimestamp: string,
       locked: boolean,
       invitable: boolean?,
       createTimestamp: string?,
    }

This property was inherited from Objects.BaseGuildThread

availableTags

GuildAnnouncementThreadChannel.availableTags  :: {
       { id: string,
       name: string,
       moderated: boolean,
       emojiId: string?,
       emojiName: string?,
    }

This property was inherited from Objects.BaseGuildThread

appliedTags

GuildAnnouncementThreadChannel.appliedTags  :: { string }

This property was inherited from Objects.BaseGuildThread

defaultReactionEmoji

GuildAnnouncementThreadChannel.defaultReactionEmoji  :: Objects.DiscordEmoji

This property was inherited from Objects.BaseGuildThread

Methods

joinThreadAsync

GuildAnnouncementThreadChannel : joinThreadAsync ()  -> Vendor.Future<unknown>

Joins the current discord bot into the thread

This function was inherited from Objects.BaseGuildThread

addMemberToThreadAsync

GuildAnnouncementThreadChannel : addMemberToThreadAsync (

     userId: string
)  -> Vendor.Future<unknown>

Adds the passed member to the thread channel

This function was inherited from Objects.BaseGuildThread

leaveThreadAsync

GuildAnnouncementThreadChannel : leaveThreadAsync ()  -> Vendor.Future<unknown>

Leaves the thread channel if the discord bot is in the channel.

This function was inherited from Objects.BaseGuildThread

removeMemberFromThreadAsync

GuildAnnouncementThreadChannel : removeMemberFromThreadAsync (

     userId: string
)  -> Vendor.Future<unknown>

Removes the passed user id from the current thread channel

This function was inherited from Objects.BaseGuildThread

getThreadMemberAsync

GuildAnnouncementThreadChannel : getThreadMemberAsync (

     userId: string
)  -> Vendor.Future<{ DiscordGuildMember }>

Returns a list of members that are active in the current thread channel

This function was inherited from Objects.BaseGuildThread

removeMemberFromThreadAsync

GuildAnnouncementThreadChannel : removeMemberFromThreadAsync (

     userId: string
)  -> Vendor.Future<{ DiscordGuildMember }>

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!