From 452799e5caf7a7d460f007e24a8deb8ec066447e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 18 Dec 2023 16:53:13 -0500 Subject: [PATCH] fix(moderation): added metadata to moderation importer --- moderation/importers/moderation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/moderation/importers/moderation.py b/moderation/importers/moderation.py index e8fa238..bbe4ec6 100644 --- a/moderation/importers/moderation.py +++ b/moderation/importers/moderation.py @@ -62,6 +62,10 @@ class ImportModerationView(ui.View): if "metadata" not in case or not case["metadata"]: case["metadata"] = {} + else: + case["metadata"].update({ + 'imported_from': 'SeaCogs/Moderation' + }) if case["duration"] != "NULL": hours, minutes, seconds = map(int, case["duration"].split(":"))