diff --git a/.dev.env b/.dev.env index 074e386..1635809 100644 --- a/.dev.env +++ b/.dev.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=0.1.2 DEV +BOT_VER=0.1.1 DEV BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=682942374040961060 @@ -26,4 +26,4 @@ DB_AUTH_PASS=dev DB_SYNC=true DB_LOGGING=true -DB_CARD_FILE=:memory: +DB_CARD_FILE=:memory: \ No newline at end of file diff --git a/.prod.env b/.prod.env index 2f890c3..17fc883 100644 --- a/.prod.env +++ b/.prod.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=0.1.2 +BOT_VER=0.1.1 BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=1093810443589529631 @@ -26,4 +26,4 @@ DB_AUTH_PASS=prod DB_SYNC=false DB_LOGGING=false -DB_CARD_FILE=:memory: +DB_CARD_FILE=:memory: \ No newline at end of file diff --git a/.stage.env b/.stage.env index 05cfb66..39afa54 100644 --- a/.stage.env +++ b/.stage.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=0.1.2 BETA +BOT_VER=0.1.1 BETA BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=1147976642942214235 @@ -26,4 +26,4 @@ DB_AUTH_PASS=stage DB_SYNC=false DB_LOGGING=false -DB_CARD_FILE=:memory: +DB_CARD_FILE=:memory: \ No newline at end of file diff --git a/package.json b/package.json index 40c6340..92b174d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "card-drop", - "version": "0.1.2", + "version": "0.1.1", "main": "./dist/bot.js", "typings": "./dist", "scripts": { diff --git a/src/buttonEvents/Reroll.ts b/src/buttonEvents/Reroll.ts index c1a54ea..e5aeed9 100644 --- a/src/buttonEvents/Reroll.ts +++ b/src/buttonEvents/Reroll.ts @@ -28,8 +28,6 @@ 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()