From cc4d1411955a122acdf68a6eebc5f0f2aee88f35 Mon Sep 17 00:00:00 2001 From: Quin Lynch <49576606+quinchs@users.noreply.github.com> Date: Sat, 29 May 2021 11:12:27 -0300 Subject: [PATCH 1/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f9b8049c6..981108982 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Discord.Net Labs [![NuGet](https://img.shields.io/nuget/vpre/Discord.Net.Labs.svg?maxAge=2592000?style=plastic)](https://www.nuget.org/packages/Discord.Net.Labs) +[![Discord](https://discord.com/api/guilds/848176216011046962/widget.png)](https://discord.gg/dvSfUTet3K) This repo is a custom fork of Discord.Net that introduces the newest features of discord for testing and experimenting. Nothing here is guaranteed to work but you are more than welcome to submit bugs in the issues tabs From 84d011a1f6ec6539e677d67bbfcc847ab75dca4a Mon Sep 17 00:00:00 2001 From: Z3RYX <39765816+Z3RYX@users.noreply.github.com> Date: Sat, 29 May 2021 22:46:11 +0200 Subject: [PATCH 2/2] Fixes issue where ComponentBuilder wouldn't add more than one button to a new row --- .../Interactions/Message Components/ComponentBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs index a7da0d936..e8b0ce19c 100644 --- a/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs +++ b/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs @@ -90,7 +90,7 @@ namespace Discord } else { - if (_actionRows.Count + 1 == row) + if (_actionRows.Count == row) _actionRows.Add(new ActionRowBuilder().WithComponent(builtButton)); else {