From 9fe92c8761cd25f0711eb7d75f8679b740bf448f Mon Sep 17 00:00:00 2001 From: maamokun/MikanDev Date: Fri, 13 Dec 2024 00:09:48 +0900 Subject: [PATCH] fix: missing countries file in docker --- Dockerfile | 1 + bun.lockb | Bin 68785 -> 69547 bytes package.json | 1 + src/handlers/flagTranslation.ts | 2 +- 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a848d89..262e0a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,7 @@ FROM base AS release COPY --from=install /temp/prod/node_modules node_modules COPY --from=prerelease /usr/src/app/src ./src COPY --from=prerelease /usr/src/app/package.json . +COPY --from=prerelease /usr/src/app/countries.json . COPY --from=prerelease /usr/src/app/prisma ./prisma # run the app diff --git a/bun.lockb b/bun.lockb index 6ce7546250ba4d3b7b618adc2950e19e01ba3612..13927ae2a16d68e23184ae6ff2d2a335b2b86f19 100644 GIT binary patch delta 11544 zcmeHNd013Ow!hWT%2ithWN914eHjI0Z3se>XpGpRqN5EiC*)U``nNh+I>k?t%2-x^vT;P0bu0^I?goU^ zP#@5O{2XUth$L+R?+*SIP#!2FXLf-zRg!KsR|mQXYDW9yyu7K-3`sf)p7mG3m=>Tn zWJ!wQ0bfFe1!qB-uL1Q0-Kf!#=$#Fi4xSCl$xBZy$daTq+9P~Q%h1Yk8Kp@J5Db6t zDWKe&-s=ePt-%-NraLD)C20`!Ic|N?C8}jkPF49 zlB80pGi+ynIzx+TPF`*%bfnhsfem|%cBWrx^g~c~?>s2GeNdyBplt9)P+!nxpsZH{ ziodd=B4;}H+YSsHo{C8_Vf?a2rGkkmEJ|aeZ)*lE!)&oZ?}Bm%g)_n;xP#-+=Ye-% z6qcuFq!qEn)A(kT-H@}vYcPAPmr-1pk&B^6p`9Zzy}fE!8fcqtXh=qdLpau=PS7q; zRvZq>A$^*ryZDqoMqlWm>^o3yeGioV%hn>DJ&QvtNmo0l?ISu$5;`u+EX#@2m={Kslf6T~u>pH0sRF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h1x7?|G9an^PEwOijPe%cP-17g`Px` z^F&fb`tpvSR{iAipv8G+DQZo>ejf6yYFR8oCL=7Bs!mOF#Q&y$RXF8-ZhFXrbc+5U z9Y#w&H#eJo8dHGl*lGIg^Wrwg!?icCmm|Xui_#YNoquyNyVEmYOs~E6#Uzh;<6J~2 my;vVRZ>tM_qVf2tX>CJ&C-b}zSJ8J~M;9^R<6>7~ZT>HlCITY> diff --git a/package.json b/package.json index c09d942..ee20370 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@baselime/pino-transport": "^0.1.5", "@biomejs/biome": "^1.8.2", "@google-cloud/translate": "^8.5.0", + "@google-cloud/vision": "^4.3.2", "@prisma/client": "^6.0.1", "country-code-emoji": "^2.3.0", "discord.js": "^14.15.3", diff --git a/src/handlers/flagTranslation.ts b/src/handlers/flagTranslation.ts index 633f711..b99ddb0 100644 --- a/src/handlers/flagTranslation.ts +++ b/src/handlers/flagTranslation.ts @@ -59,7 +59,7 @@ export async function translateMessage(reaction: MessageReaction, user: User) { .setDescription(translation) .setColor("#FF7700") .setTimestamp(); - await message.reply({ embeds: [embed] }); + await message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } }); message.reactions.removeAll(); const userDb = await prisma.user.findUnique({ where: {