Откат

This commit is contained in:
JonnyBro 2022-02-13 16:24:01 +05:00
parent b2b05b2697
commit afc8dc8671
6 changed files with 8 additions and 5 deletions

View file

@ -63,7 +63,7 @@ class Profile extends Command {
}) })
}) })
.setImage("attachment://achievements.png") .setImage("attachment://achievements.png")
.addField(this.client.customEmojis.link + " " + message.translate("economy/profile:LINK"), `[${message.translate("economy/profile:LINK_TEXT")}](https://dashboard.jaba.pp.ua/user/${member.user.id}/${message.guild.id})`) .addField(this.client.customEmojis.link + " " + message.translate("economy/profile:LINK"), `[${message.translate("economy/profile:LINK_TEXT")}](https://jaba.pp.ua/user/${member.user.id}/${message.guild.id})`)
.addField(message.translate("economy/profile:BIO"), userData.bio ? userData.bio : message.translate("economy/profile:NO_BIO")) .addField(message.translate("economy/profile:BIO"), userData.bio ? userData.bio : message.translate("economy/profile:NO_BIO"))
.addField(message.translate("economy/profile:CASH"), `**${memberData.money}** ${message.getNoun(memberData.money, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`, true) .addField(message.translate("economy/profile:CASH"), `**${memberData.money}** ${message.getNoun(memberData.money, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`, true)
.addField(message.translate("economy/profile:BANK"), `**${memberData.bankSold}** ${message.getNoun(memberData.bankSold, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`, true) .addField(message.translate("economy/profile:BANK"), `**${memberData.bankSold}** ${message.getNoun(memberData.bankSold, message.translate("misc:NOUNS:CREDIT:1"), message.translate("misc:NOUNS:CREDIT:2"), message.translate("misc:NOUNS:CREDIT:5"))}`, true)

View file

@ -91,7 +91,7 @@ class Help extends Command {
} }
embed.addField("\u200B", message.translate("misc:STATS_FOOTER", { embed.addField("\u200B", message.translate("misc:STATS_FOOTER", {
dashboardLink: "https://dashboard.jaba.pp.ua/", dashboardLink: "https://jaba.pp.ua/",
docsLink: "https://jaba.pp.ua/docs/", docsLink: "https://jaba.pp.ua/docs/",
inviteLink: this.client.generateInvite({ scopes: ["bot"], permissions: [Discord.Permissions.FLAGS.ADMINISTRATOR] }), inviteLink: this.client.generateInvite({ scopes: ["bot"], permissions: [Discord.Permissions.FLAGS.ADMINISTRATOR] }),
donateLink: "https://qiwi.com/n/JONNYBRO/", donateLink: "https://qiwi.com/n/JONNYBRO/",

View file

@ -41,7 +41,7 @@ class Serverinfo extends Command {
.setThumbnail(guild.iconURL({ .setThumbnail(guild.iconURL({
dynamic: true dynamic: true
})) }))
.addField(this.client.customEmojis.link + " " + message.translate("general/serverinfo:LINK"), `[${message.translate("general/serverinfo:LINK_TEXT")}](https://dashboard.jaba.pp.ua/stats/${guild.id})`) .addField(this.client.customEmojis.link + " " + message.translate("general/serverinfo:LINK"), `[${message.translate("general/serverinfo:LINK_TEXT")}](https://jaba.pp.ua/stats/${guild.id})`)
.addField(this.client.customEmojis.title + message.translate("common:NAME"), guild.name, true) .addField(this.client.customEmojis.title + message.translate("common:NAME"), guild.name, true)
.addField(this.client.customEmojis.calendar + message.translate("common:CREATION"), message.printDate(guild.createdAt), true) .addField(this.client.customEmojis.calendar + message.translate("common:CREATION"), message.printDate(guild.createdAt), true)
.addField(this.client.customEmojis.users + message.translate("common:MEMBERS"), .addField(this.client.customEmojis.users + message.translate("common:MEMBERS"),

View file

@ -48,7 +48,7 @@ class Stats extends Command {
translators: ["**`Jonny_Bro#4226`** (:flag_ru:)"].join("\n") translators: ["**`Jonny_Bro#4226`** (:flag_ru:)"].join("\n")
})) }))
.addField(this.client.customEmojis.link + " " + message.translate("general/stats:LINKS_TITLE"), message.translate("misc:STATS_FOOTER", { .addField(this.client.customEmojis.link + " " + message.translate("general/stats:LINKS_TITLE"), message.translate("misc:STATS_FOOTER", {
dashboardLink: "https://dashboard.jaba.pp.ua/", dashboardLink: "https://jaba.pp.ua/",
docsLink: "https://jaba.pp.ua/docs/", docsLink: "https://jaba.pp.ua/docs/",
inviteLink: this.client.generateInvite({ scopes: ["bot"], permissions: [Discord.Permissions.FLAGS.ADMINISTRATOR] }), inviteLink: this.client.generateInvite({ scopes: ["bot"], permissions: [Discord.Permissions.FLAGS.ADMINISTRATOR] }),
donateLink: "https://qiwi.com/n/JONNYBRO/", donateLink: "https://qiwi.com/n/JONNYBRO/",

View file

@ -2,6 +2,9 @@
* Исправления * Исправления
* Команда *clip* теперь работает нормально. * Команда *clip* теперь работает нормально.
* Изменения
* Сайт перенесён обратно на *https://jaba.pp.ua*.
### JaBa v3.3.7 ### JaBa v3.3.7
* Добавлено * Добавлено
* Локализация необходимых прав в ошибке. * Локализация необходимых прав в ошибке.

View file

@ -8,7 +8,7 @@
<meta property="og:title" content="JaBa Dashboard" /> <meta property="og:title" content="JaBa Dashboard" />
<meta property="og:site_name" content="JaBa Dashboard" /> <meta property="og:site_name" content="JaBa Dashboard" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content="https://dashboard.jaba.pp.ua" /> <meta property="og:url" content="https://jaba.pp.ua" />
<meta property="og:image" content="/dist/img/jaba.ico" /> <meta property="og:image" content="/dist/img/jaba.ico" />
<meta property="og:description" content="Панель управления JaBa" /> <meta property="og:description" content="Панель управления JaBa" />