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

Update src/Commands/MuteCommandGroup.cs

Co-authored-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-10-04 20:18:03 +05:00 committed by GitHub
parent fc022b520c
commit 2636d2e514
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,8 @@ public class MuteCommandGroup : CommandGroup
} }
private async Task<Result> MuteUserAsync( private async Task<Result> MuteUserAsync(
IUser executor, IUser target, string reason, TimeSpan duration, Snowflake guildId, GuildData data, Snowflake channelId, IUser bot, CancellationToken ct = default) IUser executor, IUser target, string reason, TimeSpan duration, Snowflake guildId, GuildData data,
Snowflake channelId, IUser bot, CancellationToken ct = default)
{ {
var interactionResult var interactionResult
= await _utility.CheckInteractionsAsync( = await _utility.CheckInteractionsAsync(