Add summon command
This commit is contained in:
6
modules/summon/index.js
Normal file
6
modules/summon/index.js
Normal file
@@ -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!`);
|
||||||
|
})
|
||||||
|
}
|
Reference in New Issue
Block a user