static async Task <(bool, RestVoiceChannel)> CreateRoomForUser(IUser user) { if (!IonicHelper.GetCategory(Settings.App.MainGuildId, VoiceCategoryId, out var category)) { return(false, null); } var channel = await category.Guild.CreateVoiceChannelAsync(user.Username, x => { x.UserLimit = 5; x.CategoryId = VoiceCategoryId; }); await channel.AddPermissionOverwriteAsync(user, new OverwritePermissions(manageChannel : PermValue.Allow)); return(true, channel); }