BaseDiscordGuildChannel
Represents a base object for any/all guild channels.
Properties
guildId
topic
nsfw
rateLimitPerUser
parentId
flags
id
This property was inherited from Objects.BaseDiscordChannel
type
This property was inherited from Objects.BaseDiscordChannel
Methods
overwriteRolePermissionsAsync
BaseDiscordGuildChannel : 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.
overwriteMemberPermissionssync
BaseDiscordGuildChannel : 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.
overwriteMemberPermissionssync
BaseDiscordGuildChannel : 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
getInvitesAsync
BaseDiscordGuildChannel : getInvitesAsync () -> Vendor.Future
Gets the invites for the channel asynchronously.
createInviteAsync
BaseDiscordGuildChannel : createInviteAsync () -> Vendor.Future
maxAge: number?
maxUses: number?
temporary: boolean?
Creates an invite for the channel asynchronously.
setPositionAsync
BaseDiscordGuildChannel : setPositionAsync () -> Vendor.Future
position: number
parentId: string?
syncPermissions: boolean?
Sets the position of the channel asynchronously.
modifyAsync
BaseDiscordGuildChannel : modifyAsync () -> Vendor.Future<unknown>
channelBuilder: ChannelBuilder.ChannelBuilder
Modifies the thread channel settings asynchronously.
getPublicArchivedThreadsAsync
BaseDiscordGuildChannel : getPublicArchivedThreadsAsync () -> Vendor.Future<{ number }>
epoch: number?
limit: number?
Gets all archived public threads in the guild channel asynchronously.
getPrivateArchivedThreadsAsync
BaseDiscordGuildChannel : getPrivateArchivedThreadsAsync () -> Vendor.Future<{ number }>
epoch: number?
limit: number?
Gets all archived private threads in the guild channel asynchronously.
getJoinedPrivateArchivedThreads
BaseDiscordGuildChannel : 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.
deleteAsync
BaseDiscordGuildChannel : deleteAsync () -> Vendor.Future
Deletes the channel asynchronously.
This function was inherited from Objects.BaseDiscordChannel
Functions
The BaseDiscordGuildChannel instance has no set functions!