From 5d6a74e6375c53c5efc6505eb545c2a3c3f00e80 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 28 Jan 2022 00:38:47 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D1=82=20=D0=BD=D0=B5=D0=BE=D0=B1?= =?UTF-8?q?=D1=85=D0=BE=D0=B4=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8=20=D0=B2?= =?UTF-8?q?=D1=8B=D1=85=D0=BE=D0=B4=D0=B8=D1=82=D1=8C=20=D0=B8=D0=B7=20?= =?UTF-8?q?=D1=81=D0=BF=D0=BE=D0=B9=D0=BB=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/JaBa.js | 4 ++-- commands/Moderation/poll.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/base/JaBa.js b/base/JaBa.js index 6d1473aa..e5f01aa0 100644 --- a/base/JaBa.js +++ b/base/JaBa.js @@ -1,4 +1,4 @@ -const { MessageEmbed, Util, Client, Collection } = require("discord.js"), +const { MessageEmbed, Client, Collection } = require("discord.js"), { GiveawaysManager } = require("discord-giveaways"), { SoundCloudPlugin } = require("@distube/soundcloud"), { SpotifyPlugin } = require("@distube/spotify"); @@ -93,7 +93,7 @@ class JaBa extends Client { .on("searchResult", (message, result) => { let i = 0; const embed = new MessageEmbed() - .setDescription(Util.escapeSpoiler(result.map(song => `**${++i} -** ${song.name}`).join("\n"))) + .setDescription(result.map(song => `**${++i} -** ${song.name}`).join("\n")) .setFooter({ text: this.translate("music/play:RESULTS_FOOTER") }) .setColor(this.config.embed.color); message.channel.send({ embeds: [embed] }); diff --git a/commands/Moderation/poll.js b/commands/Moderation/poll.js index 0404a268..1363d3ab 100644 --- a/commands/Moderation/poll.js +++ b/commands/Moderation/poll.js @@ -78,8 +78,8 @@ class Poll extends Command { const error = this.client.customEmojis.error.split(":")[1]; const emojis = [ - this.client.emojis.cache.find((e) => e.name === success), - this.client.emojis.cache.find((e) => e.name === error) + this.client.emojis.cache.find(e => e.name === success), + this.client.emojis.cache.find(e => e.name === error) ]; const embed = new Discord.MessageEmbed()