From 5833b13dda05d86f73daa27f530fa25fd3ec7618 Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 25 Mar 2018 16:08:17 -0400 Subject: Changes --- commands/changelog.js | 3 ++- commands/kick.js | 2 +- commands/money.js | 2 +- commands/setmoney.js | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/commands/changelog.js b/commands/changelog.js index c247e43..4f6c524 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -28,7 +28,8 @@ module.exports.run = async (client, message) => { .setAuthor('AleeBot ' + '2.4.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') .setDescription('What\'s new in AleeBot 2.4?') .addField('[>] Suggestion Command!','Suggest command is only for exclusive servers!', true) - .addField('[>] Ban reasons!','For now the ban command is broken but we\'ll fix it soon!', true) + .addField('[>] Ban and kick reasons!','Now you can ban and kick people within reasons!', true) + .addField('[>] Economy!','Yes, it\'s true we\'ve now added economy in AleeBot but for now you can check for your balance!', true) .setFooter('AleeCorp Copyright 2017') .setColor('#1fd619'); message.channel.sendEmbed(embed); diff --git a/commands/kick.js b/commands/kick.js index 5928525..062e035 100644 --- a/commands/kick.js +++ b/commands/kick.js @@ -24,7 +24,7 @@ ********************************/ module.exports.run = async (client, message, args) => { const mreason = args.join(" ").slice(22); - if (!message.member.permissions.has('KICK_MEMBERS')) return message.reply("It looks like that you don't have the permissions to ban people.") + if (!message.member.permissions.has('KICK_MEMBERS')) return message.reply("It looks like that you don't have the permissions to ban people."); if (!message.guild.member(client.user).hasPermission('KICK_MEMBERS')) return message.reply('Uhh... I don\'t have permission to kick members.'); const member = message.mentions.members.first(); if (!member) return message.reply("Uhh... Please mention a member first."); diff --git a/commands/money.js b/commands/money.js index d08a2ff..c818d0d 100644 --- a/commands/money.js +++ b/commands/money.js @@ -44,6 +44,6 @@ module.exports.run = async (client, message) => { name: 'money', description: 'Displays your balance.', usage: 'money', - category: '- Fun Commands', + category: '- Economy Commands', }; \ No newline at end of file diff --git a/commands/setmoney.js b/commands/setmoney.js index f979c40..954a022 100644 --- a/commands/setmoney.js +++ b/commands/setmoney.js @@ -25,7 +25,7 @@ module.exports.run = async (client, message, args) => { const { RichEmbed } = require('discord.js'); const economy = require('discord-eco') - if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.'); + if (!message.member.permissions.has('ADMINISTRATOR')) return message.reply("It looks like that you don't have the permissions to set your money.") if (!args[0]) { message.reply('You need a amount.'); @@ -59,6 +59,6 @@ module.exports.run = async (client, message, args) => { name: 'setmoney', description: 'Sets money.', usage: 'setmoney [amount] [user]', - category: '- Owners Only', + category: '- Economy Commands', }; \ No newline at end of file -- cgit v1.2.3