Fix invite command

This commit is contained in:
SileNce5k 2022-02-24 01:29:17 +01:00
parent bc3b182236
commit 195f422032
Failed to extract signature

View file

@ -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}>`)
}