diff --git a/.gitignore b/.gitignore
index adc4bff..52ae0e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,8 @@ node_modules/
dist/
pnpm-lock.yaml
yarn.lock
-package-lock.json
\ No newline at end of file
+package-lock.json
+.local
+result
+.replit
+replit.nix
\ No newline at end of file
diff --git a/plugins/ViewRaw/src/RawPage.tsx b/plugins/ViewRaw/src/RawPage.tsx
index 4f4ac80..8e151c7 100644
--- a/plugins/ViewRaw/src/RawPage.tsx
+++ b/plugins/ViewRaw/src/RawPage.tsx
@@ -1,14 +1,23 @@
import { ReactNative, clipboard, React } from "@vendetta/metro/common"
+import { findByName, findByProps } from "@vendetta/metro"
import { showToast } from "@vendetta/ui/toasts"
import { getAssetIDByName } from "@vendetta/ui/assets"
-import { Codeblock, Button } from "@vendetta/ui/components"
+import { Button, Codeblock } from "@vendetta/ui/components"
import { cleanMessage } from "./cleanMessage"
+const { default: ChatItemWrapper } = findByProps(
+ "DCDAutoModerationSystemMessageView",
+ "default"
+)
+const MessageRecord = findByName("MessageRecord")
+const RowManager = findByName("RowManager")
+
const { ScrollView } = ReactNative
export default function RawPage({ message }) {
const stringMessage = React.useMemo(() => JSON.stringify(cleanMessage(message), null, 4), [message.id])
-
+ const [raw, setRaw] = React.useState(false)
+
const style = { marginBottom: 8 }
return (<>
@@ -34,8 +43,29 @@ export default function RawPage({ message }) {
showToast("Copied data to clipboard", getAssetIDByName("toast_copy_link"))
}}
/>
- {message.content && {message.content}}
- {stringMessage}
+