1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-14 17:56:08 +03:00

fix: apply new inspection fixes

This commit is contained in:
Octol1ttle 2024-08-24 20:38:45 +05:00
parent e457b4609e
commit 4e915c3244
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
9 changed files with 15 additions and 15 deletions

View file

@ -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(