From c4ca3d372685f929c042934e0dd15febc6e1097e Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 12 Sep 2019 21:15:59 +0200 Subject: [PATCH] Update description and message --- commands/utility/invite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/utility/invite.js b/commands/utility/invite.js index 5183e91..38c9c25 100644 --- a/commands/utility/invite.js +++ b/commands/utility/invite.js @@ -18,7 +18,7 @@ class InviteCommand extends Command { } ], description: { - content: 'Send invite link for the bot and support server', + content: 'Send invite link for the bot and support server\nCan also show the invite for other bot if you mention him', usage: '', examples: [''] } @@ -28,7 +28,7 @@ class InviteCommand extends Command { async exec(message, args) { if (args.member) { if (args.member.bot) { - return message.channel.send(`You can add the bot you mentioned with this link: https://discordapp.com/oauth2/authorize?client_id=${args.member.id}&scope=bot&permissions=0`); + return message.channel.send(`You can add the bot you mentioned with this link: https://discordapp.com/oauth2/authorize?client_id=${args.member.id}&scope=bot&permissions=0\n\`Note: The invite might not work if the owner of the bot is not public\``); } else { return message.channel.send('Sorry, the user you mentioned is not a bot!'); }