BaseGuildTextChannel
A base guild text channel, where any/all text channels extend from.
Properties
lastPinTimestamp
lastMessageId
guildId
This property was inherited from Objects.BaseDiscordGuildChannel
topic
This property was inherited from Objects.BaseDiscordGuildChannel
nsfw
This property was inherited from Objects.BaseDiscordGuildChannel
rateLimitPerUser
This property was inherited from Objects.BaseDiscordGuildChannel
parentId
This property was inherited from Objects.BaseDiscordGuildChannel
flags
This property was inherited from Objects.BaseDiscordGuildChannel
Methods
triggerTypingIndicator
BaseGuildTextChannel : triggerTypingIndicator () -> Vendor.Future
Triggers the typing indicator in the channel.
getMessagesAsync
BaseGuildTextChannel : getMessagesAsync () -> Vendor.Future
limit: number?
Gets messages from the channel asynchronously.
getMessageAsync
BaseGuildTextChannel : getMessageAsync () -> Vendor.Future
messageId: string
Gets a specific message from the channel asynchronously.
bulkDeleteMessagesAsync
Deletes multiple messages from the channel asynchronously.
sendMessageAsync
BaseGuildTextChannel : sendMessageAsync () -> Vendor.Future
messageBuilder: MessageBuilder
Sends a message to the channel asynchronously.
getPinnedMessagesAsync
Retrieves the pinned messages in the text channel asynchronously.
overwriteRolePermissionsAsync
BaseGuildTextChannel : overwriteRolePermissionsAsync () -> Vendor.Future
roleId: string
allowedPermissions: PermissionsBuilder.PermissionsBuilder
disallowedPermissions: PermissionsBuilder.PermissionsBuilder
set overwrites for a specific role permissions for this channel in a discord guild.
This function was inherited from Objects.BaseDiscordGuildChannel
overwriteMemberPermissionssync
BaseGuildTextChannel : overwriteMemberPermissionssync () -> Vendor.Future
memberId: string
allowedPermissions: PermissionsBuilder.PermissionsBuilder
disallowedPermissions: PermissionsBuilder.PermissionsBuilder
set overwrites for a specific members permissions for this channel in a discord guild.
This function was inherited from Objects.BaseDiscordGuildChannel
overwriteMemberPermissionssync
BaseGuildTextChannel : overwriteMemberPermissionssync () -> Vendor.Future
roleIdOrUserId: string
deletes overwritten permissions for the given id, the given id must be either a role id or a user id
This function was inherited from Objects.BaseDiscordGuildChannel
getInvitesAsync
BaseGuildTextChannel : getInvitesAsync () -> Vendor.Future
Gets the invites for the channel asynchronously.
This function was inherited from Objects.BaseDiscordGuildChannel
createInviteAsync
BaseGuildTextChannel : createInviteAsync () -> Vendor.Future
maxAge: number?
maxUses: number?
temporary: boolean?
Creates an invite for the channel asynchronously.
This function was inherited from Objects.BaseDiscordGuildChannel
setPositionAsync
BaseGuildTextChannel : setPositionAsync () -> Vendor.Future
position: number
parentId: string?
syncPermissions: boolean?
Sets the position of the channel asynchronously.
This function was inherited from Objects.BaseDiscordGuildChannel
modifyAsync
BaseGuildTextChannel : modifyAsync () -> Vendor.Future<unknown>
channelBuilder: ChannelBuilder.ChannelBuilder
Modifies the thread channel settings asynchronously.
This function was inherited from Objects.BaseDiscordGuildChannel
getPublicArchivedThreadsAsync
BaseGuildTextChannel : getPublicArchivedThreadsAsync () -> Vendor.Future<{ number }>
epoch: number?
limit: number?
Gets all archived public threads in the guild channel asynchronously.
This function was inherited from Objects.BaseDiscordGuildChannel
getPrivateArchivedThreadsAsync
BaseGuildTextChannel : getPrivateArchivedThreadsAsync () -> Vendor.Future<{ number }>
epoch: number?
limit: number?
Gets all archived private threads in the guild channel asynchronously.
This function was inherited from Objects.BaseDiscordGuildChannel
getJoinedPrivateArchivedThreads
BaseGuildTextChannel : getJoinedPrivateArchivedThreads () -> Vendor.Future<{ number }>
epoch: number?
limit: number?
Gets all archived private threads that the bot is a member of, in the guild channel asynchronously.
This function was inherited from Objects.BaseDiscordGuildChannel
Functions
The BaseGuildTextChannel instance has no set functions!