From d4522cd72927ee01aee4c84361ab30bc322aab19 Mon Sep 17 00:00:00 2001 From: Eartharoid Date: Mon, 9 Sep 2019 18:16:50 +0100 Subject: [PATCH] fix spacing updated --- commands/help.js | 6 +++--- commands/new.js | 4 ++-- package.json | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/commands/help.js b/commands/help.js index 52f0ccb..0c8c1d4 100644 --- a/commands/help.js +++ b/commands/help.js @@ -28,12 +28,12 @@ module.exports = { if (!args.length) { data.push('__**Commands**__'); data.push(commands.map(command => `**${config.prefix}${command.name}** : \`${command.description}\``).join('\n')); - data.push(`\nType\`${config.prefix}help [command]\` for more information about a specific command.`); + data.push(`\nType \`${config.prefix}help [command]\` for more information about a specific command.`); const embed = new Discord.RichEmbed() .setTitle("Commands") .setColor(config.colour) - .setDescription(`\nType\`${config.prefix}help [command]\` for more information about a specific command.`) + .setDescription(`\nType \`${config.prefix}help [command]\` for more information about a specific command.`) // .addField("...", `...`, true) // .addField("...", `...`, true) .setFooter(`DiscordTickets by Eartharoid`); @@ -82,7 +82,7 @@ module.exports = { if (!args.length) { data.push('__**Commands**__'); data.push(commands.map(command => `**${config.prefix}${command.name}** : \`${command.description}\``).join('\n')); - data.push(`\nType\`${config.prefix}help [command]\` for more information about a specific command.`); + data.push(`\nType \`${config.prefix}help [command]\` for more information about a specific command.`); return message.author.send(data, { split: true }) .then(() => { diff --git a/commands/new.js b/commands/new.js index d4a278a..f023ac7 100644 --- a/commands/new.js +++ b/commands/new.js @@ -29,8 +29,8 @@ module.exports = { if(message.guild.channels.some(channel => chan.includes(channel.name))) { if(config.useEmbeds){ const err1 = new Discord.RichEmbed() - .setColor("#E74C3C") - .setDescription(`:x: You already have an open ticket.`) + .setColor("#E74C3C") + .setDescription(`:x: You already have an open ticket.`) return message.channel.send(err1) } else { message.channel.send(`:x: You already have an open ticket.`) diff --git a/package.json b/package.json index fe12a24..7e8a120 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,11 @@ { "name": "DiscordTickets", "version": "1.1.5", - "description": "A Discord ticket/support - an open-source & self-host alternative to TicketManager (name tbd)", + "description": "A Discord ticket/support - an open-source & self-hosted bot", "main": "index.js", "dependencies": { "discord.js": "^11.4.2", - "leeks.js": "^0.0.1", - "leekslazylogger": "0.0.4" + "leekslazylogger": "^1.1.3" }, "devDependencies": {}, "scripts": {