From 10d4b92f841c94febcf5ffd72490bb90cbce1430 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 19 Mar 2017 06:23:28 +0000 Subject: [PATCH] Change Invite --- commands/botinfo/info.js | 2 +- commands/botinfo/invite.js | 2 +- commands/random/soundboard.js | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/botinfo/info.js b/commands/botinfo/info.js index f1711ac4..53c17a3f 100644 --- a/commands/botinfo/info.js +++ b/commands/botinfo/info.js @@ -60,7 +60,7 @@ class InfoCommand extends commando.Command { .addField('My Server', "[Click Here to Join!](https://discord.gg/fqQF8mc)") .addField('Invite Link:', - "[Click Here to Add Me to Your Server!](https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=519238)"); + "[Click Here to Add Me to Your Server!](https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=1345846343)"); message.channel.sendEmbed(embed).catch(console.error); }); } diff --git a/commands/botinfo/invite.js b/commands/botinfo/invite.js index 2d161d33..14c380c5 100644 --- a/commands/botinfo/invite.js +++ b/commands/botinfo/invite.js @@ -17,7 +17,7 @@ class InviteCommand extends commando.Command { if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return; } console.log("[Command] " + message.content); - message.channel.send("\nAdd me to your server with this link:\n" + "https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=519238" + "\nOr, come to my server with this link:\n" + "https://discord.gg/fqQF8mc"); + message.channel.send("\nAdd me to your server with this link:\n" + "https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=1345846343" + "\nOr, come to my server with this link:\n" + "https://discord.gg/fqQF8mc"); } } diff --git a/commands/random/soundboard.js b/commands/random/soundboard.js index d8d33357..47b8ce90 100644 --- a/commands/random/soundboard.js +++ b/commands/random/soundboard.js @@ -43,6 +43,8 @@ class SoundBoardCommand extends commando.Command { message.channel.send(':x: Error! Sound not found! Please use ;soundboard list to see a list of sounds you can play.'); } } + } else { + message.channel.send(':x: This is a DM!'); } } }