Skip to content

Commit

Permalink
v2.2.5: Update discord.js to 14.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CorySanin committed Jul 31, 2023
1 parent 9e4a5dc commit d6adc36
Show file tree
Hide file tree
Showing 5 changed files with 528 additions and 420 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine3.17 AS build-env
FROM node:lts-alpine3.18 AS build-env

WORKDIR /build

Expand All @@ -7,7 +7,7 @@ RUN apk add --no-cache make libtool autoconf automake g++ python3
COPY ./package*json ./
RUN npm install

FROM node:lts-alpine3.17
FROM node:lts-alpine3.18
WORKDIR /usr/src/openrct2-discord
COPY --from=build-env /build .
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if (typeof (registerPlugin) === "undefined") {
type: 'chat',
body: {
author: msg.author.username,
content: msg.stickers.size ? `sent a sticker- "${msg.stickers.first().name}"` : emoji.emojiToText(msg.content)
content: msg.stickers.size ? `sent a sticker- "${msg.stickers.first().name}"` : emoji.emojiToText(msg.cleanContent)
}
};
for (let conId in connections) {
Expand Down
Loading

0 comments on commit d6adc36

Please sign in to comment.