mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
fix old link in courses command
This commit is contained in:
parent
8d2557fac8
commit
34b219e278
1 changed files with 2 additions and 2 deletions
|
@ -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"),
|
||||||
|
|
Loading…
Reference in a new issue