Change to ephemeral

This commit is contained in:
Noah committed 2021-12-18 20:56:30 -06:00
1 parent 33f7675aac
commit 08a6d27903
1 file changed
+5 -5
+5 -5
View File
@@ -50,6 +50,7 @@ module.exports = new Command({
color: supportbot.WarningColour, color: supportbot.WarningColour,
}, },
], ],
ephemeral: true,
}); });
} }
if ( if (
@@ -57,11 +58,10 @@ module.exports = new Command({
getRole(supportbot.TicketBlackListRole, interaction.guild).id getRole(supportbot.TicketBlackListRole, interaction.guild).id
) )
) { ) {
return interaction return interaction.reply({
.reply(supportbot.TicketBlackListMessage) content: supportbot.TicketBlackListMessage,
.then((msg) => { ephemeral: true,
setTimeout(() => msg.delete(), 3500); });
});
} }
// Ticket ID // Ticket ID