diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/changelog.js | 7 | ||||
| -rw-r--r-- | commands/help.js | 2 | ||||
| -rw-r--r-- | commands/userinfo.js | 43 |
3 files changed, 47 insertions, 5 deletions
diff --git a/commands/changelog.js b/commands/changelog.js index 27a4f90..cc7faf9 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -20,10 +20,9 @@ module.exports.run = async (client, message) => {
const Discord = require('discord.js');
const embed = new Discord.RichEmbed()
- .setAuthor('AleeBot ' + '2.6.0 ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
- .setDescription('What\'s new in AleeBot 2.6?')
- .addField('[>] G A M E S!', 'Yes! You\'ve been waiting for a long time you can now get money from games!')
- .addField('[>] Quotes!', 'So you might be confused why quotes? Well... we merged with another project which is called AstralQuote.')
+ .setAuthor('AleeBot ' + '2.7.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
+ .setDescription('What\'s new in AleeBot 2.7?')
+ .addField('[>] User info!', 'Now AleeBot can tell you about your account!')
.setColor('#1fd619');
message.channel.send({embed});
diff --git a/commands/help.js b/commands/help.js index 4b3d62d..c1d3f65 100644 --- a/commands/help.js +++ b/commands/help.js @@ -30,7 +30,7 @@ module.exports.run = async (client, message) => { const embed = new Discord.RichEmbed()
.setTitle('AleeBot Help')
- .setAuthor('AleeBot 2.6.0' + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
+ .setAuthor('AleeBot 2.7.0 Beta' + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048')
.setDescription('Every command you input into AleeBot is `' + require('../absettings.json').prefix + '`')
.setColor('#1fd619')
.setFooter('AleeCorp Copyright 2018, Licensed with GPL-3.0');
diff --git a/commands/userinfo.js b/commands/userinfo.js new file mode 100644 index 0000000..35647c3 --- /dev/null +++ b/commands/userinfo.js @@ -0,0 +1,43 @@ +/**************************************** + * + * UserInfo: Command for AleeBot + * Copyright (C) 2018 AleeCorp + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + * *************************************/ +module.exports.run = async (client, message) => { + const Discord = require('discord.js'); + var embed = new Discord.RichEmbed() + .setAuthor(message.author.tag, message.author.avatarURL) + .setDescription("User Information") + .addField("Names", "Username: " + message.author.username + "\nCurrent Nickname: " + message.member.displayName) + .addField("Identity", "User ID: " + message.author.id + "") + .addField("Create and Join Times", "Created account at: " + message.member.user.createdAt.toUTCString() + "\nJoined server at: " + message.member.joinedAt.toUTCString()) + .setColor('#1fd619') + message.channel.send({embed}); + + }; + + exports.conf = { + aliases: ['uinfo'], + guildOnly: false, + }; + exports.help = { + name: 'userinfo', + description: 'Tells your info.', + usage: 'userinfo', + category: '- Info Commands', + }; +
\ No newline at end of file |
