Disable sending internal error messages for now

This commit is contained in:
Ske 2021-10-13 23:30:47 +02:00
parent 2e89310129
commit 071e8b0791

View File

@ -257,7 +257,11 @@ namespace PluralKit.Bot
{ {
var botPerms = PermissionsIn(reportChannel.Value); var botPerms = PermissionsIn(reportChannel.Value);
if (botPerms.HasFlag(PermissionSet.SendMessages | PermissionSet.EmbedLinks)) if (botPerms.HasFlag(PermissionSet.SendMessages | PermissionSet.EmbedLinks))
await _errorMessageService.SendErrorMessage(reportChannel.Value, sentryEvent.EventId.ToString()); {
// i'm just going to disable this for now we need to find something nicer
// await _errorMessageService.SendErrorMessage(reportChannel.Value,
// sentryEvent.EventId.ToString());
}
} }
} }
} }