Fixed an issue where the trovo stream was showing as picarto

This commit is contained in:
Kwoth
2022-02-16 12:25:04 +01:00
parent 8c1c75c246
commit 60e0729988
2 changed files with 5 additions and 2 deletions

View File

@@ -87,7 +87,10 @@ public partial class Searches
await ctx.SendPaginatedConfirmAsync(page,
cur =>
{
var elements = streams.Skip(cur * 12).Take(12).ToList();
var elements = streams
.Skip(cur * 12)
.Take(12)
.ToList();
if (elements.Count == 0)
return _eb.Create().WithDescription(GetText(strs.streams_none)).WithErrorColor();