From 41067d9d534fed0793cda42a6b90b19b28486ed3 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Sat, 22 Sep 2018 19:52:10 +0200 Subject: [PATCH] Updated invites --- commands/utility/invite.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/utility/invite.js b/commands/utility/invite.js index cbfe84ab..313df590 100644 --- a/commands/utility/invite.js +++ b/commands/utility/invite.js @@ -1,4 +1,5 @@ const { Command } = require('discord.js-commando'); +const { supportServer } = require('../../config.json') module.exports = class InviteCommand extends Command { constructor(client) { super(client, { @@ -10,6 +11,6 @@ module.exports = class InviteCommand extends Command { } async run(message) { - return message.say(`You can add me from here: https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=27654\nYou can join my support server over here: https://discord.gg/SsMCsVY come and say hi :)`); + return message.say(`You can add me from here: https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=0\nYou can join my support server over here: ${supportServer} come and say hi :)`); } }; \ No newline at end of file