Browse Source

Merge branch 'Interactions' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into Interactions

pull/1923/head
quin lynch 4 years ago
parent
commit
d98baf4cca
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      README.md
  2. +1
    -1
      src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs

+ 1
- 0
README.md View File

@@ -1,5 +1,6 @@
# Discord.Net Labs # 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) [![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 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




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

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


Loading…
Cancel
Save