Browse Source

Merge pull request #13 from Z3RYX/patch-1

Fix ActionRow Count check in ComponentBuilder
pull/1923/head
Quin Lynch GitHub 4 years ago
parent
commit
475b073077
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs

+ 1
- 1
src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs View File

@@ -90,7 +90,7 @@ namespace Discord
}
else
{
if (_actionRows.Count + 1 == row)
if (_actionRows.Count == row)
_actionRows.Add(new ActionRowBuilder().WithComponent(builtButton));
else
{


Loading…
Cancel
Save