aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/listeners/interaction/interactionCreate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/interaction/interactionCreate.ts b/src/listeners/interaction/interactionCreate.ts
index 7d26d34..13c4c74 100644
--- a/src/listeners/interaction/interactionCreate.ts
+++ b/src/listeners/interaction/interactionCreate.ts
@@ -26,7 +26,7 @@ export default class InteractionCreateListener extends BushListener {
else if (id.startsWith('button-role;') && interaction.inCachedGuild()) {
const [, roleId] = id.split(';');
const role = interaction.guild.roles.cache.get(roleId);
- if (!role) return interaction.reply({ content: `${util.emojis.error} That role does not exist.` });
+ if (!role) return interaction.reply({ content: `${util.emojis.error} That role does not exist.`, ephemeral: true });
const has = interaction.member.roles.cache.has(roleId);
await interaction.deferReply({ ephemeral: true });
if (has) {