add wip export schema

This commit is contained in:
Infinidoge 2024-12-19 01:14:31 -05:00
parent 9efbb6bb1e
commit e586a18846
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -54,7 +54,20 @@ You may want to `{ctx.clean_prefix}nomen export` first"""
""" """
Imports a JSON of all of your user data Imports a JSON of all of your user data
""" """
pass schema = {
"disabled": bool,
"keywords": {
"<guild_id>": [
{"keyword": str, "regex": bool, "count": int},
],
},
"ignores": {
"<guild_id>": [int],
},
"blocks": [
int # User ID
],
}
@nomen.command() @nomen.command()
@guild_only() @guild_only()