This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
OctobotStealth/src/Extensions
Octol1ttle c2f7aadaea
Do not use ResultError#IsUserOrEnvironmentError (#289)
In LoggerExtensions#LogResult we skip logging the result if the error is
"user or environment error". What matches that criteria is defined by
Remora's implementation.

However, none of errors defined by the implementation should *ever* happen or be ignored:
* CommandNotFoundError: The client shouldn't send us non-existing
commands. This *can* happen because the client's command list can get
out of sync with the server's, but this happens rarely.
* AmbiguousCommandInvocationError: We don't have commands that would
trigger this error
* RequiredParameterValueMissingError: The client shouldn't send us
commands without required paremeters
* ParameterParsingError: See #220
* ConditionNotSatisfiedError: The client shouldn't send us commands that
don't satisfy our conditions

Closes #220
2024-03-24 15:38:51 +00:00
..
ChannelApiExtensions.cs Log result failures with stack traces (#282) 2024-03-20 18:08:16 +00:00
CollectionExtensions.cs Use Result.Success property instead of Result.FromSuccess() (#283) 2024-03-21 20:55:34 +05:00
CommandContextExtensions.cs Split extension methods into separate classes (#161) 2023-10-12 15:37:25 +00:00
DiffPaneModelExtensions.cs Sanitize input text in message edit log (#162) 2023-10-12 21:51:51 +05:00
EmbedBuilderExtensions.cs Split extension methods into separate classes (#161) 2023-10-12 15:37:25 +00:00
FeedbackServiceExtensions.cs Log result failures with stack traces (#282) 2024-03-20 18:08:16 +00:00
GuildScheduledEventExtensions.cs Use Result.Success property instead of Result.FromSuccess() (#283) 2024-03-21 20:55:34 +05:00
LoggerExtensions.cs Do not use ResultError#IsUserOrEnvironmentError (#289) 2024-03-24 15:38:51 +00:00
MarkdownExtensions.cs /about: Use Markdown.Hyperlink instead of custom extension (#229) 2023-12-19 15:32:11 +05:00
ResultExtensions.cs Log result failures with stack traces (#282) 2024-03-20 18:08:16 +00:00
SnowflakeExtensions.cs Split extension methods into separate classes (#161) 2023-10-12 15:37:25 +00:00
StringBuilderExtensions.cs Add StringBuilder & Markdown extensions (#206) 2023-12-04 17:09:47 +03:00
StringExtensions.cs Bump .NET version to 8.0 (#207) 2023-12-04 20:18:56 +05:00
UInt64Extensions.cs Split extension methods into separate classes (#161) 2023-10-12 15:37:25 +00:00
UserExtensions.cs Split extension methods into separate classes (#161) 2023-10-12 15:37:25 +00:00