diff --git a/commands/random/nitro.js b/commands/random/nitro.js index daaf2d00..8b34b5ee 100644 --- a/commands/random/nitro.js +++ b/commands/random/nitro.js @@ -1,5 +1,6 @@ const { Command } = require('discord.js-commando'); const { RichEmbed } = require('discord.js'); +const { stripIndents } = require('common-tags'); module.exports = class NitroCommand extends Command { constructor(client) { @@ -20,7 +21,10 @@ module.exports = class NitroCommand extends Command { .setThumbnail('https://pbs.twimg.com/profile_images/814184180649197568/y2eZcVMq.jpg') .setColor(0x748BD9) .setURL('https://discordapp.com/nitro') - .setDescription('This Message can only be viewed by members with Discord Nitro.\n[More Information](https://discordapp.com/nitro)'); + .setDescription(stripIndents` + This Message can only be viewed by members with Discord Nitro. + [More Information](https://discordapp.com/nitro) + `); return msg.embed(embed); } }; diff --git a/commands/util/help.js b/commands/util/help.js index 220d0d8e..a8f9852e 100644 --- a/commands/util/help.js +++ b/commands/util/help.js @@ -54,7 +54,9 @@ module.exports = class HelpCommand extends Command { .setColor(0x00AE86); for (const group of this.client.registry.groups.array()) { embed.addField(group.name, - !showAll ? group.commands.filter(c => c.isUsable(msg)).map(c => `\`${c.name}\``).join(', ') || 'None Available' : group.commands.map(c => `\`${c.name}\``).join(', ')); + !showAll ? + group.commands.filter(c => c.isUsable(msg)).map(c => `\`${c.name}\``).join(', ') || 'None Available' : + group.commands.map(c => `\`${c.name}\``).join(', ')); } try { await msg.author.send({embed}); diff --git a/package.json b/package.json index 9fa3770e..1f310596 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "17.2.8", + "version": "17.2.9", "description": "A Discord Bot", "main": "shardingmanager.js", "scripts": {