mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-05 13:27:54 +00:00
Add system linking commands
This commit is contained in:
parent
8b8ec80944
commit
4c6790432b
8 changed files with 75 additions and 11 deletions
|
|
@ -130,6 +130,9 @@ namespace PluralKit.Bot
|
|||
await ctx.Message.Channel.SendMessageAsync($"{Emojis.Error} {exception.Message}");
|
||||
} else if (exception is TimeoutException) {
|
||||
await ctx.Message.Channel.SendMessageAsync($"{Emojis.Error} Operation timed out. Try being faster next time :)");
|
||||
} else if (_result is PreconditionResult)
|
||||
{
|
||||
await ctx.Message.Channel.SendMessageAsync($"{Emojis.Error} {_result.ErrorReason}");
|
||||
} else {
|
||||
HandleRuntimeError((_result as ExecuteResult?)?.Exception);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue