AleeBot/commands/changelog.js

47 lines
2.1 KiB
JavaScript

/********************************
*
* Ban: Command for AleeBot
*
* Copyright (c) 2018 AleeCorp
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
********************************/
module.exports.run = async (client, message) => {
const Discord = require('discord.js');
const embed = new Discord.RichEmbed()
.setAuthor('AleeBot ' + '2.6.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
.setDescription('What\'s new in AleeBot 2.6?')
.addField('[>] Buy Command!','Now you could buy things with AleeBot!')
.addField('[>] Leave Command!','The owner of this bot can only use this command.')
.addField('[>] Info Command!','For now this command only shows the hostname of the os.')
.setColor('#1fd619');
message.channel.send({embed});
};
exports.conf = {
aliases: [],
guildOnly: false,
};
exports.help = {
name: 'changelog',
description: 'What\'s new',
usage: 'changelog',
category: '- General Commands',
};