From 3208030313c818e3c7c86359d8862811fae7ea52 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Tue, 2 Jan 2024 03:31:07 +1100 Subject: [PATCH] Fix file extension in URL --- src/commands/academy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/academy.ts b/src/commands/academy.ts index 41f6f58..2550f8f 100644 --- a/src/commands/academy.ts +++ b/src/commands/academy.ts @@ -52,7 +52,7 @@ export default class Academy { ]}), update: async()=>{ if (!client.config.whitelist.includes(interaction.user.id)) return MessageTool.youNeedRole(interaction, 'bottech'); - const articles = await Undici.fetch('https://raw.githubusercontent.com/AnxietyisReal/Daggerbot-TS/master/src/articles.yml').then(x=>x.text()); + const articles = await Undici.fetch('https://raw.githubusercontent.com/AnxietyisReal/Daggerbot-TS/master/src/articles.yaml').then(x=>x.text()); writeFileSync('src/articles.yml', articles, 'utf8'); await interaction.reply({embeds: [new client.embed() .setColor(client.config.embedColorGreen)