schemas: update invite

This commit is contained in:
Luna 2021-07-14 23:41:07 -03:00
parent 67785920bb
commit 9273d8cbda
1 changed files with 2 additions and 1 deletions

View File

@ -430,7 +430,7 @@ INVITE = {
"max_age": {
"type": "number",
"min": 0,
"max": 86400,
"max": 666666, # TODO find correct max value
# a day
"default": 86400,
},
@ -451,6 +451,7 @@ INVITE = {
"nullable": True,
}, # discord client sends invite code there
# sent by official client, unknown purpose
"target_type": {"type": "string", "required": False, "nullable": True},
"target_user_id": {"type": "snowflake", "required": False, "nullable": True},
"target_user_type": {"type": "number", "required": False, "nullable": True},
}