display better the tag

This commit is contained in:
loicbersier 2019-05-16 16:35:11 +02:00
parent b408a4c0cb
commit b017a9c9fe

View file

@ -50,6 +50,7 @@ class taglistCommand extends Command {
json = JSON.stringify(data); json = JSON.stringify(data);
json = json.replace(/[{}'\\]+/g, ''); json = json.replace(/[{}'\\]+/g, '');
json = json.replace(/,+/g, '\n'); json = json.replace(/,+/g, '\n');
json = json.replace(/"/g, ' ');
const tagEmbed = new MessageEmbed() const tagEmbed = new MessageEmbed()
.setColor('#ff9900') .setColor('#ff9900')