diff --git a/commands/info/invite.js b/commands/info/invite.js new file mode 100644 index 0000000..9993431 --- /dev/null +++ b/commands/info/invite.js @@ -0,0 +1,10 @@ +module.exports = { + name: 'invite', + description: 'Returns invite link for the bot', + execute({message, client}){ + const inviteLink = client.generateInvite({ + scopes: ['applications.commands'], + }); + message.channel.send(`<${inviteLink}>`) + } +} \ No newline at end of file