Skip to content

Commit c0c0b7c

Browse files
Wesley413pre-commit-ci[bot]plun1331
authored
fix: πŸ› update valid_locales variable to support id and es-419 (Pycord-Development#2767)
* fix: πŸ› update `valid_locates` variable to support two more languages * style(pre-commit): auto fixes from pre-commit.com hooks * Update CHANGELOG.md Signed-off-by: Wesley413 <[email protected]> * Apply suggestions from code review Signed-off-by: plun1331 <[email protected]> --------- Signed-off-by: Wesley413 <[email protected]> Signed-off-by: plun1331 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: plun1331 <[email protected]>
1 parent ae38322 commit c0c0b7c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

β€ŽCHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ These changes are available on the `master` branch, but have not yet been releas
103103
([#2739](https://github.com/Pycord-Development/pycord/pull/2739))
104104
- Fixed missing `None` type hints in `Select.__init__`.
105105
([#2746])(https://github.com/Pycord-Development/pycord/pull/2746)
106+
- Updated `valid_locales` to support `in` and `es-419`.
107+
([#2767])(https://github.com/Pycord-Development/pycord/pull/2767)
106108

107109
### Changed
108110

β€Ždiscord/commands/core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,11 +2042,13 @@ def command(**kwargs):
20422042

20432043
docs = "https://discord.com/developers/docs"
20442044
valid_locales = [
2045+
"id",
20452046
"da",
20462047
"de",
20472048
"en-GB",
20482049
"en-US",
20492050
"es-ES",
2051+
"es-419",
20502052
"fr",
20512053
"hr",
20522054
"it",

0 commit comments

Comments
Β (0)