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