fix(bot): clean up some error messages

This commit is contained in:
alyssa 2025-02-23 11:02:55 +00:00
parent d537f05b23
commit 8266100155
3 changed files with 35 additions and 18 deletions

View file

@ -191,6 +191,9 @@ public class WebhookExecutorService
}
catch (BadRequestException e)
{
if (e.Message == "Cannot use one or more emoji included with this poll")
throw new PKError($"Discord rejected proxy message: {e.Message}");
// explanation for hacky: I don't care if this code fails, it just means it wasn't a username error
try
{