Fix reoll button not working
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ethan Lane 2023-09-09 18:49:44 +01:00
parent 58c77dba21
commit 63911f43b0

View file

@ -28,6 +28,8 @@ export default class Reroll extends ButtonEvent {
const image = readFileSync(randomCard.Path);
await interaction.deferReply();
const attachment = new AttachmentBuilder(image, { name: randomCard.FileName });
const embed = new EmbedBuilder()