1
0
Fork 0
Commando
Loic Bersier 6 years ago
parent e3a7a8fe9c
commit fd3c26700c

@ -32,11 +32,9 @@ module.exports = class printCommand extends Command {
, success:function(jobID){
console.log("sent to printer with ID: "+jobID);
message.say("Printing now! ( You will receive your print shortly ( if the dev isint sleeping that is ))");
channel.send(`${message.author.username} (${message.author.id}) Asked for a print with the following text: ${text}`);
}
, error:function(err){console.log(err); message.say("An error has occured, the printer is most likely disconnected, try again later")}
});
channel.send(`${message.author.username} (${message.author.id}) Asked for a print with the following text: ${text}`);
}
};
Loading…
Cancel
Save