mirror of https://gitlab.com/litecord/litecord.git
add v10 mapping
This commit is contained in:
parent
6024eee19b
commit
df78bcaedf
|
|
@ -97,6 +97,8 @@ async def ratelimit_handler():
|
|||
request.discord_api_version = 8
|
||||
elif rule.rule.startswith("/api/v9"):
|
||||
request.discord_api_version = 9
|
||||
elif rule.rule.startswith("/api/v10"):
|
||||
request.discord_api_version = 10
|
||||
else:
|
||||
# default v6 lol
|
||||
request.discord_api_version = 6
|
||||
|
|
|
|||
Loading…
Reference in New Issue