From f4611c1f1aa8625025069b981d21019a12e75f48 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Tue, 26 Sep 2023 20:00:53 +1000 Subject: [PATCH] Dies of cringe. --- src/funcs/YTModule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/funcs/YTModule.ts b/src/funcs/YTModule.ts index 1c8b5f5..133016e 100644 --- a/src/funcs/YTModule.ts +++ b/src/funcs/YTModule.ts @@ -14,6 +14,6 @@ export default async(client: TClient, YTChannelID: string, YTChannelName: string if (!client.YTCache[YTChannelID]) return client.YTCache[YTChannelID] = Data.feed.entry[0]['yt:videoId']._text; if (Data.feed.entry[1]['yt:videoId']._text === client.YTCache[YTChannelID]){ client.YTCache[YTChannelID] = Data.feed.entry[0]['yt:videoId']._text; - (client.channels.resolve(DiscordChannelID) as TextChannel).send({content: `<@&${DiscordRoleID}> (Ping notification are currently WIP, no eta when complete, the mentioned role is a placeholder for now)\n**${YTChannelName}** just uploaded a video!\n${Data.feed.entry[0].link._attributes.href}`, allowedMentions: {parse: ['roles']}}) + (client.channels.resolve(DiscordChannelID) as TextChannel).send({content: `<@&${DiscordRoleID}>\n**${YTChannelName}** just uploaded a video!\n${Data.feed.entry[0].link._attributes.href}`, allowedMentions: {parse: ['roles']}}) } }