1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

fix: nest "KickUserAsync" calls under "main"

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-12-31 00:29:29 +05:00
parent 95d6524b91
commit 0d58670793
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -135,6 +135,7 @@ public class KickCommandGroup : CommandGroup
IUser executor, IUser target, string reason, IGuild guild, Snowflake channelId, GuildData data, IUser bot, IUser executor, IUser target, string reason, IGuild guild, Snowflake channelId, GuildData data, IUser bot,
CancellationToken ct = default) CancellationToken ct = default)
{ {
_profiler.Push("main");
_profiler.Push("interactions_check"); _profiler.Push("interactions_check");
var interactionResult var interactionResult
= await _utility.CheckInteractionsAsync(guild.ID, executor.ID, target.ID, "Kick", ct); = await _utility.CheckInteractionsAsync(guild.ID, executor.ID, target.ID, "Kick", ct);