mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
Small Changes
This commit is contained in:
@@ -71,7 +71,7 @@ module.exports = class CardCommand extends Command {
|
|||||||
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'card.png' }] })
|
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'card.png' }] })
|
||||||
.catch(err => msg.say(err));
|
.catch(err => msg.say(err));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return msg.say('An Error Occurred while creating the image. ' + err.stack);
|
return msg.say('An Error Occurred while creating the image.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user