From 195f422032c522df53983e33fc2e48eb7019c623 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 24 Feb 2022 01:29:17 +0100 Subject: [PATCH] Fix invite command --- commands/info/invite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/info/invite.js b/commands/info/invite.js index 9993431..ffa737c 100644 --- a/commands/info/invite.js +++ b/commands/info/invite.js @@ -3,7 +3,7 @@ module.exports = { description: 'Returns invite link for the bot', execute({message, client}){ const inviteLink = client.generateInvite({ - scopes: ['applications.commands'], + scopes: ['applications.commands', 'bot'], }); message.channel.send(`<${inviteLink}>`) }