From a5a4f4bf9650dd2fdfc11914c8569c7ed45c9840 Mon Sep 17 00:00:00 2001 From: = Date: Sat, 24 Jul 2021 20:49:28 -0400 Subject: [PATCH] new command to send help in current channel --- commands/sendhelp.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 commands/sendhelp.js diff --git a/commands/sendhelp.js b/commands/sendhelp.js new file mode 100644 index 0000000..991312e --- /dev/null +++ b/commands/sendhelp.js @@ -0,0 +1,10 @@ +const fn = require('../functions.js'); + +module.exports = { + name: 'sendhelp', + description: 'Send the help message to the current channel', + permissions: 'BOT_MOD', // To be implemented later + execute(message, file) { + message.channel.send(fn.createHelpEmbed(message)); + } +} \ No newline at end of file