From b964f4acfd0cbea708170b621d59a4449d9d3b49 Mon Sep 17 00:00:00 2001 From: Talon Date: Tue, 21 Mar 2023 19:42:51 +0100 Subject: [PATCH] Add summon command --- modules/summon/index.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 modules/summon/index.js diff --git a/modules/summon/index.js b/modules/summon/index.js new file mode 100644 index 0000000..8da4055 --- /dev/null +++ b/modules/summon/index.js @@ -0,0 +1,6 @@ +module.exports = function (bot, api) { + api.registerCommand("summon", async (args, message) => { + await api.joinChannel(message.member.voice.channel); + api.respond(message, `Hi!`); + }) +} \ No newline at end of file