From e586a18846275ac0351907b635a76ef49334bc26 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 19 Dec 2024 01:14:31 -0500 Subject: [PATCH] add wip export schema --- nomen/settings.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/nomen/settings.py b/nomen/settings.py index a3dbd5c..c88274a 100644 --- a/nomen/settings.py +++ b/nomen/settings.py @@ -54,7 +54,20 @@ You may want to `{ctx.clean_prefix}nomen export` first""" """ Imports a JSON of all of your user data """ - pass + schema = { + "disabled": bool, + "keywords": { + "": [ + {"keyword": str, "regex": bool, "count": int}, + ], + }, + "ignores": { + "": [int], + }, + "blocks": [ + int # User ID + ], + } @nomen.command() @guild_only()