mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 15:53:08 +02:00
fix spacing
updated
This commit is contained in:
parent
5dffa0e3a5
commit
d4522cd729
@ -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(() => {
|
||||
|
@ -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.`)
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user