fix spacing

updated
This commit is contained in:
Eartharoid 2019-09-09 18:16:50 +01:00
parent 5dffa0e3a5
commit d4522cd729
3 changed files with 7 additions and 8 deletions

View File

@ -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(() => {

View File

@ -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.`)

View File

@ -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": {