mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Improve error handling and reporting after command rewrite
This commit is contained in:
parent
284e8eb95a
commit
53ae0e3d70
3 changed files with 57 additions and 4 deletions
|
|
@ -86,6 +86,11 @@ namespace PluralKit.Bot.CommandSystem
|
|||
{
|
||||
await Reply($"{Emojis.Error} {e.Message}");
|
||||
}
|
||||
catch (TimeoutException e)
|
||||
{
|
||||
// Got a complaint the old error was a bit too patronizing. Hopefully this is better?
|
||||
await Reply($"{Emojis.Error} Operation timed out, sorry. Try again, perhaps?");
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<IUser> MatchUser()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue