This commit is contained in:
Dragon Fire
2021-04-23 14:02:38 -04:00
parent c7e493b209
commit 54fd6071cd
+1 -1
View File
@@ -38,7 +38,7 @@ module.exports = class DominantColorCommand extends Command {
ctx.fillStyle = hexColor;
ctx.fillRect(0, 0, canvas.width, canvas.height);
const name = ntc.name(hexColor);
return msg.say(`${hexColor.toUpperCase()} - ${name}`, {
return msg.say(`${hexColor.toUpperCase()} - ${name[1]}`, {
files: [{ attachment: canvas.toBuffer(), name: 'dominant-color.png' }]
});
} catch (err) {