mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-03 04:29:54 +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:
parent
e457b4609e
commit
d1133124b8
9 changed files with 15 additions and 15 deletions
|
@ -229,7 +229,7 @@ public sealed class ScheduledEventUpdateService : BackgroundService
|
|||
|
||||
return await _channelApi.CreateMessageWithEmbedResultAsync(
|
||||
GuildSettings.EventNotificationChannel.Get(settings), roleMention, embedResult: embed,
|
||||
components: new[] { new ActionRowComponent(new[] { button }) }, ct: ct);
|
||||
components: new[] { new ActionRowComponent([button]) }, ct: ct);
|
||||
}
|
||||
|
||||
private static Result<string> GetExternalScheduledEventCreatedEmbedDescription(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue