mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-02-23 10:51:22 +02:00
fix: /claim
and /release
commands (from #580)
This commit is contained in:
parent
1f24561ac0
commit
20a0b9378b
@ -20,7 +20,6 @@ module.exports = class ClaimSlashCommand extends SlashCommand {
|
|||||||
/** @type {import("client")} */
|
/** @type {import("client")} */
|
||||||
const client = this.client;
|
const client = this.client;
|
||||||
|
|
||||||
await interaction.deferReply({ ephemeral: false });
|
|
||||||
await client.tickets.claim(interaction);
|
await client.tickets.claim(interaction);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -20,7 +20,6 @@ module.exports = class ReleaseSlashCommand extends SlashCommand {
|
|||||||
/** @type {import("client")} */
|
/** @type {import("client")} */
|
||||||
const client = this.client;
|
const client = this.client;
|
||||||
|
|
||||||
await interaction.deferReply({ ephemeral: false });
|
|
||||||
await client.tickets.release(interaction);
|
await client.tickets.release(interaction);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user