mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
fix(bot): clean up some error messages
This commit is contained in:
parent
d537f05b23
commit
8266100155
3 changed files with 35 additions and 18 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue