mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = class ColorCommand extends Command {
|
||||
const name = ntc.name(color);
|
||||
ctx.fillStyle = color.toLowerCase();
|
||||
ctx.fillRect(0, 0, 250, 250);
|
||||
return msg.say(`#${color.toUpperCase()} - ${name[1]}`, {
|
||||
return msg.say(`${color.toUpperCase()} - ${name[1]}`, {
|
||||
files: [{ attachment: canvas.toBuffer(), name: 'color.png' }]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user