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()