aboutsummaryrefslogtreecommitdiff
path: root/commands/about.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/about.js')
-rw-r--r--commands/about.js34
1 files changed, 26 insertions, 8 deletions
diff --git a/commands/about.js b/commands/about.js
index a455faa..be1c17d 100644
--- a/commands/about.js
+++ b/commands/about.js
@@ -1,7 +1,7 @@
/** **************************************
*
* About: Command for AleeBot
- * Copyright (C) 2017-2020 Alee Productions
+ * Copyright (C) 2017-2021 Alee Productions
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,15 +18,33 @@
*
* *************************************/
module.exports.run = async (client, message) => {
- const Discord = require('discord.js');
- const os = require('os');
- const embed = new Discord.MessageEmbed()
+ const { MessageEmbed, MessageButton, MessageActionRow } = require('discord.js');
+
+ let Contributors = ('- Andrew Lee (Founder of this project)\n');
+ Contributors += ('- OfficialRain (Raina) (Uptime Command)\n');
+ Contributors += ('- jtsshieh (Command Handler)');
+
+ const aboutEmbed = new MessageEmbed()
.setAuthor(`AleeBot ${require('../storage/settings.json').abVersion}`, client.user.avatarURL())
- .addField('About AleeBot', 'AleeBot is an all-in-one bot that\'s made from the Discord.JS api!')
- .addField('Contributors', 'Andrew Lee (Founder of this project)\nOfficialRain (Raina) (Uptime Command)\njtsshieh (Command Handler)')
- .setFooter('© Copyright 2017-2020 Alee Productions, Licensed with GPL-3.0')
+ .addField('About AleeBot', 'AleeBot is an all-in-one bot that\'s made from the Discord.JS API!')
+ .addField('License', 'GNU General Public License v3.0')
+ .addField('Contributors', Contributors)
+ .setFooter('© Copyright 2017-2023 Andrew Lee Projects')
.setColor('#1fd619');
- await message.channel.send({embed});
+
+ let inviteButton = new MessageActionRow()
+ .addComponents(
+ new MessageButton()
+ .setStyle('LINK')
+ .setLabel('Invite AleeBot')
+ .setURL('https://top.gg/bot/282547024547545109'),
+ new MessageButton()
+ .setStyle('LINK')
+ .setLabel('Join Andrew Lee Projects')
+ .setURL('https://discord.gg/EFhRDqG')
+ );
+
+ await message.channel.send({embeds: [aboutEmbed], components: [inviteButton]});
};
exports.conf = {