mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 04:13:08 +02:00
oops
This commit is contained in:
parent
8a2c9fa90c
commit
7fb279250b
@ -49,15 +49,15 @@ module.exports = {
|
||||
c.overwritePermissions(message.guild.defaultRole, {
|
||||
VIEW_CHANNEL: false,
|
||||
SEND_MESSAGES: false
|
||||
})
|
||||
});
|
||||
c.overwritePermissions(message.member, {
|
||||
VIEW_CHANNEL: true,
|
||||
SEND_MESSAGES: true
|
||||
})
|
||||
});
|
||||
c.overwritePermissions(supportRole, {
|
||||
VIEW_CHANNEL: true,
|
||||
SEND_MESSAGES: true
|
||||
})
|
||||
});
|
||||
c.setTopic(`${message.author} | ${topic}`);
|
||||
if (config.tagHereOnly) {
|
||||
await c.send(`@here, a user has created a new ticket.\n`);
|
||||
@ -68,9 +68,9 @@ module.exports = {
|
||||
if (config.ticketImage) {
|
||||
await c.send(`__**Here's your ticket channel, ${message.author}**__`, {
|
||||
files: [`./image.png`]
|
||||
})
|
||||
});
|
||||
} else {
|
||||
await c.send(`__**Here's your ticket channel, ${message.author}**__`)
|
||||
await c.send(`__**Here's your ticket channel, ${message.author}**__`);
|
||||
}
|
||||
|
||||
const created = new Discord.RichEmbed()
|
||||
|
@ -17,7 +17,7 @@ module.exports = {
|
||||
.setTitle("Pong!")
|
||||
.setColor(config.colour)
|
||||
.setTimestamp()
|
||||
.addField("API Latency", `${Math.round(message.client.ping)}ms`, true)
|
||||
.addField("API Latency", `${Math.round(message.client.ping)}ms`, true);
|
||||
message.channel.send(embed);
|
||||
// command ends here
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user