mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
Use ct parameter instead of CancellationToken
Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
parent
30683da1bd
commit
098dce7b9f
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ public class MuteCommandGroup : CommandGroup
|
||||||
.WithDescription(Messages.DurationRequiredForTimeOuts)
|
.WithDescription(Messages.DurationRequiredForTimeOuts)
|
||||||
.WithColour(ColorsList.Red).Build();
|
.WithColour(ColorsList.Red).Build();
|
||||||
|
|
||||||
return await _feedback.SendContextualEmbedResultAsync(failedEmbed, CancellationToken);
|
return await _feedback.SendContextualEmbedResultAsync(failedEmbed, ct);
|
||||||
}
|
}
|
||||||
|
|
||||||
var muteResult = await _guildApi.ModifyGuildMemberAsync(
|
var muteResult = await _guildApi.ModifyGuildMemberAsync(
|
||||||
|
|
Loading…
Add table
Reference in a new issue