Initial implementation of /warn

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-03-19 18:46:56 +03:00
parent 5105b43eff
commit ab2158a648
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
13 changed files with 442 additions and 5 deletions

View file

@ -110,7 +110,7 @@ public class KickCommandGroup : CommandGroup
return await KickUserAsync(executor, target, reason, guild, channelId, data, bot, CancellationToken);
}
private async Task<Result> KickUserAsync(
public async Task<Result> KickUserAsync(
IUser executor, IUser target, string reason, IGuild guild, Snowflake channelId, GuildData data, IUser bot,
CancellationToken ct = default)
{