add intents to identify schema

This commit is contained in:
Luna 2021-07-11 01:21:24 -03:00
parent 566920b120
commit a12ef353d3
1 changed files with 2 additions and 1 deletions

View File

@ -21,9 +21,9 @@ from typing import Dict
from logbook import Logger
from litecord.gateway.errors import DecodeError
from litecord.schemas import LitecordValidator
from litecord.enums import Intents
log = Logger(__name__)
@ -64,6 +64,7 @@ IDENTIFY_SCHEMA = {
"large_threshold": {"type": "number", "required": False},
"shard": {"type": "list", "required": False},
"presence": {"type": "dict", "required": False},
"intents": {"coerce": Intents, "required": False},
},
}
},