Made warning ephemeral

This commit is contained in:
Noah committed 2021-11-23 16:51:28 -06:00
1 parent cd6df02e30
commit b6747a0340
1 file changed
+5 -3
+5 -3
View File
@@ -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(