Skip to content

Commit

Permalink
Deprecate Rule::TRIGGER_TYPE_HARMFUL_LINK
Browse files Browse the repository at this point in the history
  • Loading branch information
SQKo committed Aug 19, 2022
1 parent 44ced1d commit 8498794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord/Discord.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Discord
*
* @var string Version.
*/
public const VERSION = 'v7.2.2';
public const VERSION = 'v7.2.3';

/**
* The logger.
Expand Down
1 change: 1 addition & 0 deletions src/Discord/Parts/Guild/AutoModeration/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8498794

Please sign in to comment.