1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-29 10:39:53 +03:00

Apply new inspection fixes (#329)

Rider and R# 2024.2 have introduced new inspections, causing current
builds to fail. This PR applies fixes for issues caught by these
inspections.
This commit is contained in:
Octol1ttle 2024-08-24 20:48:47 +05:00 committed by GitHub
parent e457b4609e
commit d1133124b8
Signed by: GitHub
GPG key ID: B5690EEEBB952194
9 changed files with 15 additions and 15 deletions

View file

@ -81,7 +81,7 @@ public sealed class ErrorLoggingPostExecutionEvent : IPostExecutionEvent
return ResultExtensions.FromError(await _feedback.SendContextualEmbedResultAsync(embed,
new FeedbackMessageOptions(MessageComponents: new[]
{
new ActionRowComponent(new[] { issuesButton })
new ActionRowComponent([issuesButton])
}), ct)
);
}