MemberProfileAutoModerationRule

Constructors

Link copied to clipboard
constructor(data: AutoModerationRuleData, kord: Kord, supplier: EntitySupplier)

Properties

Link copied to clipboard

The actions which will execute when the rule is triggered.

Link copied to clipboard

Substrings which should not trigger the rule.

Link copied to clipboard

The behavior of the Member which first created this rule.

Link copied to clipboard

The ID of the Member which first created this rule.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The IDs of the GuildMessageChannels that should not be affected by the rule.

Link copied to clipboard

The behaviors of the GuildMessageChannels that should not be affected by the rule.

Link copied to clipboard

The IDs of the Roles that should not be affected by the rule.

Link copied to clipboard

The behaviors of the Roles that should not be affected by the rule.

Link copied to clipboard

The behavior of the Guild which this rule belongs to.

Link copied to clipboard
override val guildId: Snowflake

The ID of the Guild which this rule belongs to.

Link copied to clipboard
override val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard

Whether the rule is enabled.

Link copied to clipboard

Substrings which will be searched for in content.

Link copied to clipboard
override val kord: Kord

The kord instance that created this object.

Link copied to clipboard

The rule name.

Link copied to clipboard

Regular expression patterns which will be matched against content.

Link copied to clipboard
override val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
open suspend fun delete(reason: String? = null)

Requests to delete this AutoModerationRule.

Link copied to clipboard

Requests to edit this AutoModerationRule and returns the edited rule.

Requests to edit this MemberProfileAutoModerationRule and returns the edited rule.

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open suspend fun getGuild(): Guild

Requests to get the Guild which this rule belongs to.

Link copied to clipboard
open suspend fun getGuildOrNull(): Guild?

Requests to get the Guild which this rule belongs to. Returns null if it wasn't found.

Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns a copy of this class with a new supplier provided by the strategy.