Skip to content

Commit

Permalink
fix with
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Jun 11, 2023
1 parent 17b2e3e commit 8d60559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function handleInteraction(interaction: Interaction, db: DB) {
const transcript: any = {
messages: [],
closed: "Ticket closed by " + interaction.user.tag,
with: interaction.guild?.members.fetch(channel.name.split("-")[1])?.then((m) => m.user.tag)
with: await interaction.guild?.members.fetch(channel.name.split("-")[1])?.then((m) => m.user.tag)
};
for (const message of messages.values()) {
const obj: any = {
Expand Down

0 comments on commit 8d60559

Please sign in to comment.