From 34b219e27859b0504e81be33b701a84fb44ae421 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sun, 4 Aug 2024 22:35:58 +0500 Subject: [PATCH] fix old link in courses command --- commands/beatrun.ru/courses.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/beatrun.ru/courses.js b/commands/beatrun.ru/courses.js index 1fefc44d..42a8dc5e 100644 --- a/commands/beatrun.ru/courses.js +++ b/commands/beatrun.ru/courses.js @@ -49,10 +49,10 @@ class Courses extends BaseCommand { if (response.res === 401) return interaction.error("beatrun.ru/courses:NOT_FOUND", null, { ephemeral: true, edit: true }); const embed = client.embed({ - title: code, + title: course.name, description: `[${interaction.translate("beatrun.ru/courses:DOWNLOAD")}](https://courses.jonnybro.ru/${course.path})`, thumbnail: course.mapimg, - url: `https://courses.beatrun.ru/?search=${code}`, + url: `https://courses.jonnybro.ru/?search=${code}`, fields: [ { name: interaction.translate("beatrun.ru/courses:MAP"),