aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/interrogate.js2
-rw-r--r--commands/jail.js2
-rw-r--r--commands/poweroff.js7
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);