Fix invite command
This commit is contained in:
parent
bc3b182236
commit
195f422032
1 changed files with 1 additions and 1 deletions
|
@ -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}>`)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue