Add Decorators to clean classes before json serialization and remove invalid states.

This commit is contained in:
whinis authored and Rory& committed 2026-02-17 18:20:31 +01:00
1 parent 961cb9a7e2
commit 9bd8fc2c09
4 files changed
+59 -1

No files matched your search

+1 -1
View File
@@ -486,7 +486,7 @@ export async function postHandleMessage(message: Message) {
const content = message.content?.replace(/ *`[^)]*` */g, ""); // remove markdown
const linkMatches = content?.match(LINK_REGEX) || [];
message.clean_data();
const data = { ...message };
const currentNormalizedUrls = new Set<string>();