Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Sep 8, 2023
1 parent 6f248d9 commit cf8b3ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interactions.ts
Expand Up @@ -107,6 +107,7 @@ export async function handleInteraction(interaction: Interaction) {
}

if (interaction.isModalSubmit()) {
try {
const ticket_user_reason = interaction.fields.getTextInputValue("ticket_reason");
const dbuser = await finduser(interaction.user.id);
const ticketname = `ticket-${interaction.user.id}`;
Expand Down Expand Up @@ -171,6 +172,9 @@ export async function handleInteraction(interaction: Interaction) {
ephemeral: true,
});
});
} catch (e) {
console.error(e);
}
}

if (!interaction.isChatInputCommand()) return
Expand Down

0 comments on commit cf8b3ac

Please sign in to comment.