Да блять

This commit is contained in:
JonnyBro 2022-10-03 20:27:51 +05:00
parent daf475054b
commit f52ddc6e25

View file

@ -38,8 +38,8 @@ Message.prototype.replyT = function (key, args, options = {}) {
let string = this.translate(key, args, this.guild ? this.guild.data.language : "ru-RU"); let string = this.translate(key, args, this.guild ? this.guild.data.language : "ru-RU");
if (options.prefixEmoji) string = `${this.client.customEmojis[options.prefixEmoji]} | ${string}`; if (options.prefixEmoji) string = `${this.client.customEmojis[options.prefixEmoji]} | ${string}`;
if (options.edit) return this.edit({ content: string, allowedMentions: { repliedUser: options.mention || true } }); if (options.edit) return this.edit({ content: string, allowedMentions: { repliedUser: options.mention ? true : false } });
else return this.reply({ content: string, allowedMentions: { repliedUser: options.mention || true } }); else return this.reply({ content: string, allowedMentions: { repliedUser: options.mention ? true : false } });
}; };
Message.prototype.error = function (key, args, options = {}) { Message.prototype.error = function (key, args, options = {}) {