Skip to content

Commit

Permalink
feat: add invite command
Browse files Browse the repository at this point in the history
  • Loading branch information
eritislami committed Nov 26, 2020
1 parent 85b8b13 commit e877e1a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions commands/invite.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
name: "invite",
description: "Send bot invite link",
execute(message) {
return message.member
.send(
`https://discord.com/oauth2/authorize?client_id=${message.client.user.id}&permissions=70282305&scope=bot
`
)
.catch(console.error);
}
};

0 comments on commit e877e1a

Please sign in to comment.