PermissionOverwriteEntity
class PermissionOverwriteEntity(val guildId: Snowflake, val channelId: Snowflake, val data: PermissionOverwriteData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : PermissionOverwrite, KordObject, Strategizable(source)
Constructors
Link copied to clipboard
constructor(guildId: Snowflake, channelId: Snowflake, data: PermissionOverwriteData, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)
Properties
Functions
Link copied to clipboard
Requests to get the channel this overwrite applies to.
Link copied to clipboard
Requests to get the channel this overwrite applies to, returns null if the TopGuildChannel isn't present.
Link copied to clipboard
Requests to get the guild of this overwrite, returns null if the Guild isn't present.
Link copied to clipboard
Returns a new PermissionOverwriteEntity with the given strategy.