From d68021655676cd9bba524ef76aee358b373265f5 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 21 Nov 2018 01:56:40 +0100 Subject: [PATCH] print thing using my printer (yes) --- commands/owner/print.js | 11 +++++++---- package.json | 2 ++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/commands/owner/print.js b/commands/owner/print.js index a5862b8..ec86f6d 100644 --- a/commands/owner/print.js +++ b/commands/owner/print.js @@ -4,14 +4,17 @@ module.exports = class printCommand extends Command { constructor(client) { super(client, { name: 'print', - group: 'owner', + group: 'fun', memberName: 'print', - description: 'print what you write', - ownerOnly: true, + description: 'print whatever you want using the dev printer ! ( yea really, send a feedback requesting the image and i\'il send it to you.', + throttling: { + usages: 1, + duration: 86400, + }, args: [ { key: 'text', - prompt: 'What do you want to print', + prompt: 'What do you want to print? ( text only )', type: 'string', } ] diff --git a/package.json b/package.json index 6ac4503..3514222 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "discord.js-commando": "^0.10.0", "faceapp": "^0.4.4", "node-fetch": "^2.2.0", + "node-gyp": "^3.8.0", + "printer": "^0.2.2", "self-reload-json": "^0.4.0", "superagent": "^4.0.0-beta.5", "youtube-dl": "^1.12.2"