mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -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,
|
await ctx.SendPaginatedConfirmAsync(page,
|
||||||
cur =>
|
cur =>
|
||||||
{
|
{
|
||||||
var elements = streams.Skip(cur * 12).Take(12).ToList();
|
var elements = streams
|
||||||
|
.Skip(cur * 12)
|
||||||
|
.Take(12)
|
||||||
|
.ToList();
|
||||||
|
|
||||||
if (elements.Count == 0)
|
if (elements.Count == 0)
|
||||||
return _eb.Create().WithDescription(GetText(strs.streams_none)).WithErrorColor();
|
return _eb.Create().WithDescription(GetText(strs.streams_none)).WithErrorColor();
|
||||||
|
@@ -79,7 +79,7 @@ public class TrovoProvider : Provider
|
|||||||
Title = data.LiveTitle,
|
Title = data.LiveTitle,
|
||||||
Viewers = data.CurrentViewers,
|
Viewers = data.CurrentViewers,
|
||||||
AvatarUrl = data.ProfilePic,
|
AvatarUrl = data.ProfilePic,
|
||||||
StreamType = FollowedStream.FType.Picarto,
|
StreamType = Platform,
|
||||||
StreamUrl = data.ChannelUrl,
|
StreamUrl = data.ChannelUrl,
|
||||||
UniqueName = data.Username,
|
UniqueName = data.Username,
|
||||||
Preview = data.Thumbnail
|
Preview = data.Thumbnail
|
||||||
|
Reference in New Issue
Block a user