Skip to content

Commit

Permalink
fix: missing countries file in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
maamokun committed Dec 12, 2024
1 parent 0920fda commit 9fe92c8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/flagTranslation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 9fe92c8

Please sign in to comment.