mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
completely skip filters for old messages
This commit is contained in:
@@ -119,7 +119,7 @@ internal static class ContentFilter
|
||||
|
||||
var suppressActions = (FilterAction)0;
|
||||
if (message.Timestamp.UtcDateTime.AddDays(1) < DateTime.UtcNow)
|
||||
suppressActions = FilterAction.SendMessage | FilterAction.ShowExplain;
|
||||
return true; //suppressActions = FilterAction.SendMessage | FilterAction.ShowExplain;
|
||||
|
||||
#if !DEBUG
|
||||
if (await message.Author.IsWhitelistedAsync(client, message.Channel.Guild).ConfigureAwait(false))
|
||||
|
||||
Reference in New Issue
Block a user