From b6747a034056103b86f12268ea7255159980d1ff Mon Sep 17 00:00:00 2001 From: Noah Date: Tue, 23 Nov 2021 16:51:28 -0600 Subject: [PATCH] Made warning ephemeral --- Commands/ticket.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Commands/ticket.js b/Commands/ticket.js index b19134d..ef98dba 100644 --- a/Commands/ticket.js +++ b/Commands/ticket.js @@ -98,9 +98,11 @@ module.exports = new Command({ DepartmentRole.id === supportbot.DepartmentRole_3 ); if (!Staff || !Admins || !DeptRole1 || !DeptRole2 || !DeptRole3) - return interaction.reply( - "Some roles seem to be missing!\nPlease check for errors when starting the bot." - ); + return interaction.reply({ + content: + "Some roles seem to be missing!\nPlease check for errors when starting the bot.", + ephemeral: true, + }); const Author = interaction.user; const Everyone = interaction.guild.id; const ticketChannel = await interaction.guild.channels.create(