mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Fixed an issue where the trovo stream was showing as picarto
This commit is contained in:
@@ -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();
|
||||
|
@@ -79,7 +79,7 @@ public class TrovoProvider : Provider
|
||||
Title = data.LiveTitle,
|
||||
Viewers = data.CurrentViewers,
|
||||
AvatarUrl = data.ProfilePic,
|
||||
StreamType = FollowedStream.FType.Picarto,
|
||||
StreamType = Platform,
|
||||
StreamUrl = data.ChannelUrl,
|
||||
UniqueName = data.Username,
|
||||
Preview = data.Thumbnail
|
||||
|
Reference in New Issue
Block a user