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