Skip to content

Commit

Permalink
testing some things with vods
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-001 committed Aug 23, 2024
1 parent 5dada10 commit c3cc941
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ const twitchLiveEmbeds = async (item: ITwitch, index: number) => {
.setURL(`https://www.twitch.tv/${item.username.toLowerCase()}`);
let row: any = new ActionRowBuilder().addComponents(buttonWatch);
if (!dataLive.live) {
if (dataLive.video.id !== item.vod_id) {
return;
}
buttonWatch.setLabel("Watch Vod");
buttonWatch.setURL(dataLive.video.url);
if (!channel.isTextBased()) return;
Expand Down

0 comments on commit c3cc941

Please sign in to comment.