This commit is contained in:
Dragon Fire
2024-05-03 10:28:55 -04:00
parent e92f705824
commit 6dbd29cb03
158 changed files with 158 additions and 159 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class ColorCommand extends Command {
ctx.fillStyle = color.toLowerCase();
ctx.fillRect(0, 0, 250, 250);
return msg.say(`${color.toUpperCase()} - ${name[1]}`, {
files: [{ attachment: canvas.toBuffer(), name: 'color.png' }]
files: [{ attachment: canvas.toBuffer('image/png'), name: 'color.png' }]
});
}
};