From 7fb279250bcde71ade54008b06dc32fe03978258 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Mon, 3 Aug 2020 16:47:44 +0100 Subject: [PATCH] oops --- commands/new.js | 10 +++++----- commands/ping.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/commands/new.js b/commands/new.js index 78c8ade..83534d4 100644 --- a/commands/new.js +++ b/commands/new.js @@ -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() diff --git a/commands/ping.js b/commands/ping.js index c01b557..2a83d2a 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -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 },