AutoModerationService
Functions
Link copied to clipboard
suspend fun createAutoModerationRule(guildId: Snowflake, request: AutoModerationRuleCreateRequest, reason: String? = null): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun createKeywordAutoModerationRule(guildId: Snowflake, name: String, eventType: AutoModerationRuleEventType, builder: KeywordAutoModerationRuleCreateBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun createKeywordPresetAutoModerationRule(guildId: Snowflake, name: String, eventType: AutoModerationRuleEventType, builder: KeywordPresetAutoModerationRuleCreateBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun createMemberProfileAutoModerationRule(guildId: Snowflake, name: String, eventType: AutoModerationRuleEventType, builder: MemberProfileAutoModerationRuleCreateBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun createMentionSpamAutoModerationRule(guildId: Snowflake, name: String, eventType: AutoModerationRuleEventType, builder: MentionSpamAutoModerationRuleCreateBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun createSpamAutoModerationRule(guildId: Snowflake, name: String, eventType: AutoModerationRuleEventType, builder: SpamAutoModerationRuleCreateBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun modifyAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, request: AutoModerationRuleModifyRequest, reason: String? = null): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun modifyKeywordAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, builder: KeywordAutoModerationRuleModifyBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun modifyKeywordPresetAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, builder: KeywordPresetAutoModerationRuleModifyBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun modifyMemberProfileAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, builder: MemberProfileAutoModerationRuleModifyBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun modifyMentionSpamAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, builder: MentionSpamAutoModerationRuleModifyBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun modifySpamAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, builder: SpamAutoModerationRuleModifyBuilder.() -> Unit): DiscordAutoModerationRule
Link copied to clipboard
inline suspend fun modifyUntypedAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, builder: UntypedAutoModerationRuleModifyBuilder.() -> Unit): DiscordAutoModerationRule