diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-07-23 11:41:02 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-07-23 11:41:02 -0400 |
| commit | ed456ef581c5acd852a924d9cc274a259b2d8ce5 (patch) | |
| tree | 33be62f54239fa6f6b61b9488dbfde329ae1fd78 /commands/info.js | |
| parent | 1ce861095b2793a1b49546c0adf460fbc2fc5d9f (diff) | |
| download | AleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.tar.gz AleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.tar.bz2 AleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.zip | |
Converted to Discord.JS v12, starting database
Diffstat (limited to 'commands/info.js')
| -rw-r--r-- | commands/info.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/commands/info.js b/commands/info.js index 5487a14..3de7ecd 100644 --- a/commands/info.js +++ b/commands/info.js @@ -18,25 +18,25 @@ * * *************************************/ module.exports.run = async (client, message) => { - const Discord = require('discord.js'); - const os = require('os'); - const embed = new Discord.RichEmbed() - .setTitle('Information on AleeBot\'s Host') - .addField('OS Hostname: ', os.hostname(), true) - .addField('NodeJS Version: ', process.versions.node, true) - .addField('OS Platform: ', os.platform(), true) - .addField('OS Version: ', os.release(), true) - .setColor('#1fd619'); - message.channel.send({embed}); + const Discord = require('discord.js'); + const os = require('os'); + const embed = new Discord.MessageEmbed() + .setTitle('Information on AleeBot\'s Host') + .addField('OS Hostname: ', os.hostname(), true) + .addField('NodeJS Version: ', process.versions.node, true) + .addField('OS Platform: ', os.platform(), true) + .addField('OS Version: ', os.release(), true) + .setColor('#1fd619'); + message.channel.send({embed}); }; exports.conf = { - aliases: [], - guildOnly: false, + aliases: [], + guildOnly: false, }; exports.help = { - name: 'info', - description: 'Tells you information about the bot', - usage: 'info', - category: '- Information Commands', + name: 'info', + description: 'Tells you information about the bot', + usage: 'info', + category: '- Information Commands', }; |
