From 849879487e8bb825016580cf6b2d76b710aca1f0 Mon Sep 17 00:00:00 2001 From: SQKo <87897282+SQKo@users.noreply.github.com> Date: Fri, 19 Aug 2022 09:06:04 +0700 Subject: [PATCH] Deprecate Rule::TRIGGER_TYPE_HARMFUL_LINK --- src/Discord/Discord.php | 2 +- src/Discord/Parts/Guild/AutoModeration/Rule.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Discord/Discord.php b/src/Discord/Discord.php index 76fef1c58..a194f6ae7 100644 --- a/src/Discord/Discord.php +++ b/src/Discord/Discord.php @@ -86,7 +86,7 @@ class Discord * * @var string Version. */ - public const VERSION = 'v7.2.2'; + public const VERSION = 'v7.2.3'; /** * The logger. diff --git a/src/Discord/Parts/Guild/AutoModeration/Rule.php b/src/Discord/Parts/Guild/AutoModeration/Rule.php index ca3faf698..82aa633a2 100644 --- a/src/Discord/Parts/Guild/AutoModeration/Rule.php +++ b/src/Discord/Parts/Guild/AutoModeration/Rule.php @@ -56,6 +56,7 @@ class Rule extends Part ]; public const TRIGGER_TYPE_KEYWORD = 1; + /** @deprecated 7.2.3 No longer part of AutoMod */ public const TRIGGER_TYPE_HARMFUL_LINK = 2; public const TRIGGER_TYPE_SPAM = 3; public const TRIGGER_TYPE_KEYWORD_PRESET = 4;