diff --git a/bot/src/bot/util.ts b/bot/src/bot/util.ts index 79488cf..3841796 100644 --- a/bot/src/bot/util.ts +++ b/bot/src/bot/util.ts @@ -379,6 +379,10 @@ const generateInfractionDMEmbed = (server: Server, serverConfig: ServerConfig, i ? (infraction.expires == Infinity ? '\n**Ban duration:** Permanent' : `\n**Ban expires** `) + : '') + + (infraction.actionType == 'ban' + ? '\n\n**Reminder:** Circumventing this ban by using another account is a violation of the Revolt [Terms of Service]() ' + + 'and may result in your accounts getting suspended from the platform.' : '') } diff --git a/bridge/src/revolt/events.ts b/bridge/src/revolt/events.ts index f8c23e2..757df43 100644 --- a/bridge/src/revolt/events.ts +++ b/bridge/src/revolt/events.ts @@ -236,7 +236,7 @@ client.on("message", async (message) => { const payload: MessagePayload | WebhookMessageOptions = { content: - typeof message.content == "string" + message.content ? await renderMessageBody(message.content) : message.system ? await renderSystemMessage(message.system) diff --git a/lib/.yarn/install-state.gz b/lib/.yarn/install-state.gz index 482088b..e7b0dae 100644 Binary files a/lib/.yarn/install-state.gz and b/lib/.yarn/install-state.gz differ