From 99945f8db8c12cdbf63245f77f8efb011579b764 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Fri, 25 Jun 2021 19:04:39 +0200 Subject: [PATCH] Add moreHelp to netload command --- commands/netload.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/commands/netload.js b/commands/netload.js index a781cc5..cb862e4 100644 --- a/commands/netload.js +++ b/commands/netload.js @@ -6,6 +6,13 @@ const validUrl = require('valid-url'); module.exports = { name: 'netload', description: 'Load a module from the internet', + moreHelp: ["Examples:", + "Either provide a link to the module, or upload it", + "To get an example of how your module should look like, do:", + "netload example", + "You have to be whitelisted to use this command.", + "The bot operator also has to have this enabled in the config." + ], execute({ message, args, prefix, client, owners }) { let json = fs.readFileSync('./data/netmoduleWhitelist.json', 'utf8'); let whitelist = JSON.parse(json)