From d0c90e8cf9f16a527c37852d3f8960c11985aee5 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Wed, 21 Nov 2018 19:11:34 +0100 Subject: [PATCH] now show who printed --- commands/fun/print.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/print.js b/commands/fun/print.js index 2591541f..b83fd431 100644 --- a/commands/fun/print.js +++ b/commands/fun/print.js @@ -22,7 +22,7 @@ module.exports = class printCommand extends Command { } async run(message, { text }) { - printer.printDirect({data:text + printer.printDirect({data:`Printed by: ${message.author.username}\n${text}` , type: 'TEXT' // type: RAW, TEXT, PDF, JPEG, .. depends on platform , success:function(jobID){ console.log("sent to printer with ID: "+jobID);