public async Task KickUser(IGuildUser user) { if (!IsUserAModeratorInCurrentVoiceChannel(Context.User)) { await GiveNoPermissionError(Context.User); return; } await _service.KickUser(Context.User, user); }
public async Task KickUser(IGuildUser user) { if (!IsUserAModeratorInCurrentVoiceChannel(Context.User)) { await GiveNoPermissionError(Context.User); return; } await _service.KickUser(Context.User, user); }