diff options
| author | Alee <alee14498@gmail.com> | 2018-07-07 20:17:38 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-07-07 20:17:38 -0400 |
| commit | 80bb069022f4093eef81c9897b2c8e8e6ab07d34 (patch) | |
| tree | ea606955feba06f2fdcbbe4cf1a9860d3b17b854 /commands | |
| parent | 300080d295f75bd01e365cde25f5d5ca7cbd848a (diff) | |
| download | AleeBot-80bb069022f4093eef81c9897b2c8e8e6ab07d34.tar.gz AleeBot-80bb069022f4093eef81c9897b2c8e8e6ab07d34.tar.bz2 AleeBot-80bb069022f4093eef81c9897b2c8e8e6ab07d34.zip | |
2.11.1 patch updatev2.11.1
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/help.js | 4 | ||||
| -rw-r--r-- | commands/invite.js | 4 |
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)" } ], } |
