Update claim event to defer the reply
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ethan Lane 2024-01-21 14:13:41 +00:00
parent 891e013e37
commit 88339d0a43
3 changed files with 9 additions and 7 deletions

View file

@ -35,9 +35,9 @@ export default class Drop extends Command {
return;
}
try {
await interaction.deferReply();
await interaction.deferReply();
try {
const image = readFileSync(path.join(process.env.DATA_DIR!, "cards", randomCard.card.path));
const imageFileName = randomCard.card.path.split("/").pop()!;