Merge pull request #886 from 13xforever/vnext

Fix an embarrassing oversight
This commit is contained in:
clienthax 2022-07-06 23:46:50 +01:00 committed by GitHub
commit f1eda478db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ internal static class ContentFilter
if (message.Author.IsWhitelisted(client, message.Channel.Guild))
{
if (message.Content.StartsWith('>'))
suppressActions = FilterAction.IssueWarning | FilterAction.RemoveContent;
suppressActions = FilterAction.IssueWarning | FilterAction.RemoveContent | FilterAction.Kick;
else
return true;
}