aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility/hinfo.js
diff options
context:
space:
mode:
authorJustin <jtsshieh@outlook.com>2019-11-02 11:02:19 -0400
committerJustin <jtsshieh@outlook.com>2019-11-02 11:02:19 -0400
commit7031fa12ba79281edc49df972311c13ad0e8fa53 (patch)
tree60410a33fe45add85a9dc962c975be478f3f8cff /commands/Utility/hinfo.js
parent106530d5dc53166632a6a0ecc8930eb2b1ed4bfd (diff)
downloadPokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.tar.gz
PokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.tar.bz2
PokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.zip
es-lint settings added + linted all files
Diffstat (limited to 'commands/Utility/hinfo.js')
-rw-r--r--commands/Utility/hinfo.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/commands/Utility/hinfo.js b/commands/Utility/hinfo.js
index 982a3bf..edffe5b 100644
--- a/commands/Utility/hinfo.js
+++ b/commands/Utility/hinfo.js
@@ -8,24 +8,24 @@
* *************************************/
exports.run = (bot, msg) => {
- const { RichEmbed } = require('discord.js');
- const os = require('os');
- const embed = new RichEmbed()
- .setTitle('Information on PokeBot\'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('#000000');
- msg.channel.send({embed});
+ const {RichEmbed} = require('discord.js');
+ const os = require('os');
+ const embed = new RichEmbed()
+ .setTitle('Information on PokeBot\'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('#000000');
+ msg.channel.send({embed});
};
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: true
};
exports.help = {
name: 'hinfo',
- description: 'Gives host information to user.',
+ description: 'Gives host information to user.'
};