Change to ephemeral
This commit is contained in:
1 parent
33f7675aac
commit
08a6d27903
1 file changed
+5
-5
+5
-5
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user