fix old link in courses command

This commit is contained in:
Jonny_Bro (Nikita) 2024-08-04 22:35:58 +05:00
parent 8d2557fac8
commit 34b219e278
Signed by: jonny_bro
GPG key ID: 3F1ECC04147E9BD8

View file

@ -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 }); if (response.res === 401) return interaction.error("beatrun.ru/courses:NOT_FOUND", null, { ephemeral: true, edit: true });
const embed = client.embed({ const embed = client.embed({
title: code, title: course.name,
description: `[${interaction.translate("beatrun.ru/courses:DOWNLOAD")}](https://courses.jonnybro.ru/${course.path})`, description: `[${interaction.translate("beatrun.ru/courses:DOWNLOAD")}](https://courses.jonnybro.ru/${course.path})`,
thumbnail: course.mapimg, thumbnail: course.mapimg,
url: `https://courses.beatrun.ru/?search=${code}`, url: `https://courses.jonnybro.ru/?search=${code}`,
fields: [ fields: [
{ {
name: interaction.translate("beatrun.ru/courses:MAP"), name: interaction.translate("beatrun.ru/courses:MAP"),