This commit is contained in:
Loic Bersier 2018-12-07 01:48:38 +01:00
parent 42ceeb5da0
commit 19c1ddca82

View file

@ -25,7 +25,7 @@ module.exports = class taglistCommand extends Command {
console.log(err); console.log(err);
let json = JSON.stringify(data) let json = JSON.stringify(data)
json = json.replace(/[{}"\\]+/g, '') json = json.replace(/[{}"\\]+/g, '')
json = json.replace(',', '\n') json = json.replace(/,+/g, '\n')
const tagEmbed = new Discord.RichEmbed() const tagEmbed = new Discord.RichEmbed()
.setColor("#ff9900") .setColor("#ff9900")
.setTitle('Tags list') .setTitle('Tags list')