From 002240d77761d3efde6644cb91c4e4a46beb2f41 Mon Sep 17 00:00:00 2001 From: Isaac Date: Sun, 16 May 2021 18:18:41 +0100 Subject: [PATCH] Send the embed in the same message as the ping --- src/modules/tickets/manager.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/tickets/manager.js b/src/modules/tickets/manager.js index caef4af..026603b 100644 --- a/src/modules/tickets/manager.js +++ b/src/modules/tickets/manager.js @@ -97,8 +97,6 @@ module.exports = class TicketManager extends EventEmitter { await t_channel.send(mentions.join(', ')); } - await t_channel.send(member.user.toString()); - if (cat_row.image) { await t_channel.send(cat_row.image); } @@ -114,7 +112,7 @@ module.exports = class TicketManager extends EventEmitter { if (topic) embed.addField(i18n('commands.new.opening_message.fields.topic'), topic); - let sent = await t_channel.send(embed); + let sent = await t_channel.send(member.user.toString(), embed); await sent.pin({ reason: 'Ticket opening message' }); await t_row.update({