schemas: update guild create

This commit is contained in:
Luna 2021-07-14 23:27:23 -03:00
parent 5b0a632b9f
commit bf5774aa03
1 changed files with 6 additions and 0 deletions

View File

@ -270,6 +270,12 @@ GUILD_CREATE = {
"explicit_content_filter": {"type": "explicit", "default": 0}, "explicit_content_filter": {"type": "explicit", "default": 0},
"roles": {"type": "list", "required": False, "schema": PARTIAL_ROLE_GUILD_CREATE}, "roles": {"type": "list", "required": False, "schema": PARTIAL_ROLE_GUILD_CREATE},
"channels": {"type": "list", "default": [], "schema": PARTIAL_CHANNEL_GUILD_CREATE}, "channels": {"type": "list", "default": [], "schema": PARTIAL_CHANNEL_GUILD_CREATE},
# not supported
"system_channel_id": {"coerce": int, "required": False, "nullable": True},
"guild_template_code": {
"type": "string",
"required": False,
},
} }