diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-05-21 16:41:01 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-05-21 16:41:01 -0400 |
| commit | a06d70c730acbf81c8e9072ed9ce91681afd25e7 (patch) | |
| tree | 7191d2dc74583e86db2f46b642794d5e089ef03a /commands | |
| parent | 0f2233a529d80b242732bd40ebaecf3fbb56cecf (diff) | |
| download | AleeBot-a06d70c730acbf81c8e9072ed9ce91681afd25e7.tar.gz AleeBot-a06d70c730acbf81c8e9072ed9ce91681afd25e7.tar.bz2 AleeBot-a06d70c730acbf81c8e9072ed9ce91681afd25e7.zip | |
Added embeds when booting the bot and addeed auto role
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/interrogate.js | 2 | ||||
| -rw-r--r-- | commands/jail.js | 2 | ||||
| -rw-r--r-- | commands/poweroff.js | 7 |
3 files changed, 8 insertions, 3 deletions
diff --git a/commands/interrogate.js b/commands/interrogate.js index 5630114..ea7de53 100644 --- a/commands/interrogate.js +++ b/commands/interrogate.js @@ -18,7 +18,7 @@ * * *************************************/ module.exports.run = async (client, message, args) => { - if (message.guild.id != '243022206437687296') return message.reply ('This is a ACN exclusive command.'); + if (message.guild.id != '243022206437687296') return message.reply ('This is a ALP exclusive command.'); if (!message.member.hasPermission('BAN_MEMBERS')) return message.reply('It looks like that you don\'t have the permissions to jail members.'); if (!message.guild.member(client.user).hasPermission('MANAGE_ROLES')) return message.reply('Uhh... I don\'t have permission to jail members.'); diff --git a/commands/jail.js b/commands/jail.js index 18cbfb1..e1ba85f 100644 --- a/commands/jail.js +++ b/commands/jail.js @@ -18,7 +18,7 @@ * * *************************************/ module.exports.run = async (client, message, args) => { - if (message.guild.id != '243022206437687296') return message.reply ('This is a ACN exclusive command.'); + if (message.guild.id != '243022206437687296') return message.reply ('This is a ALP exclusive command.'); if (!message.member.hasPermission('BAN_MEMBERS')) return message.reply('It looks like that you don\'t have the permissions to jail members.'); if (!message.guild.member(client.user).hasPermission('MANAGE_ROLES')) return message.reply('Uhh... I don\'t have permission to jail members.'); diff --git a/commands/poweroff.js b/commands/poweroff.js index f336bed..3af23b8 100644 --- a/commands/poweroff.js +++ b/commands/poweroff.js @@ -18,8 +18,13 @@ * * *************************************/ module.exports.run = async (client, message, args) => { + const Discord = require('discord.js'); if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.'); - await client.channels.find('id', '606602551634296968').send("**AleeBot Status:** AleeBot is now going offline."); + const embed = new Discord.RichEmbed() + .setAuthor("AleeBot Status", client.user.avatarURL) + .setDescription("AleeBot is now going offline...") + .setColor("#ff3333") + await client.channels.find('id', '606602551634296968').send({embed}); await message.reply(':warning: AleeBot will now exit!'); client.destroy(); process.exit(0); |
