diff --git a/commands/search/urban-dictionary.js b/commands/search/urban-dictionary.js index 5332f826..8789f76e 100644 --- a/commands/search/urban-dictionary.js +++ b/commands/search/urban-dictionary.js @@ -34,7 +34,7 @@ module.exports = class UrbanDictionaryCommand extends Command { .setAuthor('Urban Dictionary', 'https://i.imgur.com/Fo0nRTe.png', 'https://www.urbandictionary.com/') .setURL(data.permalink) .setTitle(data.word) - .setDescription(shorten(data.definition)) + .setDescription(shorten(data.definition.replace(/\[\]/g, ''))) .setFooter(`👍 ${formatNumber(data.thumbs_up)} 👎 ${formatNumber(data.thumbs_down)}`) .setTimestamp(new Date(data.written_on)) .addField('❯ Example', data.example ? shorten(data.example, 1000) : 'None'); diff --git a/package.json b/package.json index 987d6ad8..30934f27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "95.1.3", + "version": "95.1.4", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {