diff --git a/bridge/src/revolt/events.ts b/bridge/src/revolt/events.ts index bcbb98a..d5b6f79 100644 --- a/bridge/src/revolt/events.ts +++ b/bridge/src/revolt/events.ts @@ -234,7 +234,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