say who it is

This commit is contained in:
Loic Bersier 2018-11-21 19:33:37 +01:00
parent 72079ff35a
commit b0ce2fb340

View file

@ -22,7 +22,7 @@ module.exports = class printCommand extends Command {
}
async run(message, { text }) {
printer.printDirect({data:`Printed by: ${message.author.username}\n${text}`
printer.printDirect({data:`Printed by: ${message.author.username}\n\n${text}`
, type: 'TEXT' // type: RAW, TEXT, PDF, JPEG, .. depends on platform
, success:function(jobID){
console.log("sent to printer with ID: "+jobID);