Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Izocel committed May 14, 2024
1 parent 2f86cc9 commit a280941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/Youtube/configs/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const subscriptions = {
subs: [
{
name: "@Underscore_",
url: "https://www.youtube.com/@Underscore_",
url: "https://www.youtube.com/@Underscore_/videos",
},
]
},
Expand Down
4 changes: 2 additions & 2 deletions plugins/Youtube/events/subscriptionsInterval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { YoutubeFetcher } from "../class/youtubeFetcher";
export default new Event("shardReady", async () => {
try {
const fetcher = new YoutubeFetcher;
setInterval(async () => await fetcher.getVideos(), 3600000);
setInterval(fetcher.getVideos, 3600000);
fetcher.getVideos();

await fetcher.getVideos();
} catch (error) {
console.error(error);
}
Expand Down

0 comments on commit a280941

Please sign in to comment.