aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/help.js4
-rw-r--r--commands/invite.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/commands/help.js b/commands/help.js
index 318e5e2..4b19a57 100644
--- a/commands/help.js
+++ b/commands/help.js
@@ -38,13 +38,13 @@ module.exports.run = async (client, message) => {
}
let prefix = prefixes[message.guild.id].prefixes
-
+ if (!message.guild.member(client.user).hasPermission('EMBED_LINKS')) return message.reply('ERROR: AleeBot doesn\'t have the permission to send embed links please enable them to use the full help.');
const embed = new Discord.RichEmbed()
.setAuthor('AleeBot ' + require('../storage/settings.json').abVersion + ` Help and on ${client.guilds.size} servers`, client.user.avatarURL)
.setDescription('Every command you input into AleeBot is `' + prefix + '`')
.setColor('#1fd619')
.setFooter('AleeCorp Copyright 2018, Licensed with GPL-3.0');
-
+
categories.forEach(function(x) {
let cat = '';
commands.forEach(function(command) {
diff --git a/commands/invite.js b/commands/invite.js
index 58e62dc..8d9ddf1 100644
--- a/commands/invite.js
+++ b/commands/invite.js
@@ -28,8 +28,8 @@ module.exports.run = async (client, message) => {
value: "[Invite AleeBot to your server.](https://discordapp.com/api/oauth2/authorize?client_id=282547024547545109&permissions=2080375863&scope=bot)"
},
{
- name: "Join AleeCorp Network",
- value: "[If there's any bugs you can join ACN guild.](https://discord.gg/EFhRDqG)"
+ name: "Join AleeCorp Community",
+ value: "[If there's any bugs you can join ACC guild and explain the bug...](https://discord.gg/EFhRDqG)"
}
],
}