From 7031fa12ba79281edc49df972311c13ad0e8fa53 Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 2 Nov 2019 11:02:19 -0400 Subject: es-lint settings added + linted all files --- commands/Utility/hinfo.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'commands/Utility/hinfo.js') 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.' }; -- cgit v1.2.3