diff --git a/Commands/ErrorLoggingPreparationErrorEvent.cs b/Commands/ErrorLoggingEvents.cs
similarity index 100%
rename from Commands/ErrorLoggingPreparationErrorEvent.cs
rename to Commands/ErrorLoggingEvents.cs
diff --git a/Commands/MuteCommandGroup.cs b/Commands/MuteCommandGroup.cs
index ef1e981..c13cf59 100644
--- a/Commands/MuteCommandGroup.cs
+++ b/Commands/MuteCommandGroup.cs
@@ -21,7 +21,7 @@ using Remora.Results;
namespace Boyfriend.Commands;
///
-/// Handles commands related to mute management: /mute and unmute.
+/// Handles commands related to mute management: /mute and /unmute.
///
public class MuteCommandGroup : CommandGroup {
private readonly IDiscordRestChannelAPI _channelApi;
@@ -65,8 +65,10 @@ public class MuteCommandGroup : CommandGroup {
[RequireBotDiscordPermissions(DiscordPermission.ModerateMembers)]
[Description("мутит друга <3")]
public async Task MuteUserAsync(
- [Description("друг которого нужно замутить ПОТОМУ-ЧТО ОН ЗАЕБАЛ")] IUser target,
- [Description("причина зачем мутить друга (пиши заебал)")] string reason,
+ [Description("друг которого нужно замутить ПОТОМУ-ЧТО ОН ЗАЕБАЛ")]
+ IUser target,
+ [Description("причина зачем мутить друга (пиши заебал)")]
+ string reason,
TimeSpan duration) {
// Data checks
if (!_context.TryGetGuildID(out var guildId))
@@ -82,7 +84,8 @@ public class MuteCommandGroup : CommandGroup {
return Result.FromError(currentUserResult);
var interactionResult
- = await _utility.CheckInteractionsAsync(guildId.Value, userId.Value, target.ID, "Timeout", CancellationToken);
+ = await _utility.CheckInteractionsAsync(
+ guildId.Value, userId.Value, target.ID, "Timeout", CancellationToken);
if (!interactionResult.IsSuccess)
return Result.FromError(interactionResult);
@@ -90,8 +93,6 @@ public class MuteCommandGroup : CommandGroup {
var cfg = data.Configuration;
Messages.Culture = data.Culture;
- var newCoolDuration = DateTimeOffset.UtcNow.Add(duration);
-
Result