forked from Supositware/Haha-Yes
yes
This commit is contained in:
parent
e3a7a8fe9c
commit
fd3c26700c
1 changed files with 1 additions and 3 deletions
|
@ -32,11 +32,9 @@ module.exports = class printCommand extends Command {
|
||||||
, success:function(jobID){
|
, success:function(jobID){
|
||||||
console.log("sent to printer with ID: "+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 ))");
|
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")}
|
, 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…
Reference in a new issue