Skip to content

Commit

Permalink
fix(discord: commands): invite - set client id to user ID
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Oct 14, 2017
1 parent 0098d23 commit 9c72d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Discord/Commands/Invite.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class InviteCommand extends Command {
}

run(msg) {
const botInviteLink = 'https://discordapp.com/oauth2/authorize?permissions=67193856&scope=bot&client_id=303661490114789391';
const botInviteLink = `https://discordapp.com/oauth2/authorize?permissions=67193856&scope=bot&client_id=${this.bot.user.id}`;
const serverInviteLink = 'http://discord.gg/HHqndMG';

return msg.author.send({ embed: {
Expand Down

0 comments on commit 9c72d7d

Please sign in to comment.