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:
parent
95d6524b91
commit
0d58670793
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ public class KickCommandGroup : CommandGroup
|
|||
IUser executor, IUser target, string reason, IGuild guild, Snowflake channelId, GuildData data, IUser bot,
|
||||
CancellationToken ct = default)
|
||||
{
|
||||
_profiler.Push("main");
|
||||
_profiler.Push("interactions_check");
|
||||
var interactionResult
|
||||
= await _utility.CheckInteractionsAsync(guild.ID, executor.ID, target.ID, "Kick", ct);
|
||||
|
|
Loading…
Add table
Reference in a new issue