diff --git a/PluralKit.Bot/Handlers/MessageCreated.cs b/PluralKit.Bot/Handlers/MessageCreated.cs index 437ac37b..d97fbf05 100644 --- a/PluralKit.Bot/Handlers/MessageCreated.cs +++ b/PluralKit.Bot/Handlers/MessageCreated.cs @@ -53,9 +53,6 @@ public class MessageCreated: IEventHandler // for now, only return error messages for explicit commands public ulong? ErrorChannelFor(MessageCreateEvent evt, ulong userId) { - if (!HasCommandPrefix(evt.Content, userId, out var cmdStart) || cmdStart == evt.Content.Length) - return null; - return evt.ChannelId; } diff --git a/PluralKit.Bot/Services/ErrorMessageService.cs b/PluralKit.Bot/Services/ErrorMessageService.cs index 41ad263c..3c47cf3e 100644 --- a/PluralKit.Bot/Services/ErrorMessageService.cs +++ b/PluralKit.Bot/Services/ErrorMessageService.cs @@ -17,7 +17,7 @@ public class ErrorMessageService { // globally rate limit errors for now, don't want to spam users when something breaks private static readonly Duration MinErrorInterval = Duration.FromSeconds(10); - private static readonly Duration IntervalFromStartup = Duration.FromMinutes(5); + private static readonly Duration IntervalFromStartup = Duration.FromMinutes(2); private readonly ILogger _logger; private readonly BotConfig _botConfig;