Skip to content

Commit

Permalink
Merge branch 'master' into soundboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Paillat-dev committed Jan 2, 2025
2 parents a25ccdb + 8dd4b4f commit 9fa9c53
Show file tree
Hide file tree
Showing 46 changed files with 4,307 additions and 4,318 deletions.
18 changes: 10 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#2590](https://github.com/Pycord-Development/pycord/pull/2590))
- Added missing `with_counts` parameter to `fetch_guilds` method.
([#2615](https://github.com/Pycord-Development/pycord/pull/2615))
- Added missing permissions: `Permissions.use_soundboard`,
`Permissions.use_external_sounds` and
- Added the following missing permissions: `Permissions.use_soundboard`,
`Permissions.use_external_sounds`, and
`Permissions.view_creator_monetization_analytics`.
([#2620](https://github.com/Pycord-Development/pycord/pull/2620))
- Added the following soundboard-related features:
Expand Down Expand Up @@ -63,7 +63,7 @@ These changes are available on the `master` branch, but have not yet been releas
([#2595](https://github.com/Pycord-Development/pycord/pull/2595))
- Fixed `BucketType.category` cooldown commands not functioning correctly in private
channels. ([#2603](https://github.com/Pycord-Development/pycord/pull/2603))
- Fixed `SlashCommand`'s `ctx` parameter couldn't be `Union` type.
- Fixed `ctx` parameter of a `SlashCommand` not being `Union` type.
([#2611](https://github.com/Pycord-Development/pycord/pull/2611))
- Fixed `TypeError` when passing `skus` parameter in `Client.entitlements()`.
([#2627](https://github.com/Pycord-Development/pycord/issues/2627))
Expand All @@ -86,6 +86,8 @@ These changes are available on the `master` branch, but have not yet been releas
- Replaced audioop (deprecated module) implementation of `PCMVolumeTransformer.read`
method with a pure Python equivalent.
([#2176](https://github.com/Pycord-Development/pycord/pull/2176))
- Updated `Guild.filesize_limit` to 10 Mb instead of 25 Mb following Discord's API
changes. ([#2671](https://github.com/Pycord-Development/pycord/pull/2671))

### Deprecated

Expand Down Expand Up @@ -399,7 +401,7 @@ These changes are available on the `master` branch, but have not yet been releas
([#2075](https://github.com/Pycord-Development/pycord/pull/2075))
- Fixed `before_invoke` not being run for `SlashCommandGroup`.
([#2091](https://github.com/Pycord-Development/pycord/pull/2091))
- Fixed `AttributeError` when accessing a `Select` object's values when it hasn't been
- Fixed `AttributeError` when accessing a `Select` object's values when it has not been
interacted with. ([#2104](https://github.com/Pycord-Development/pycord/pull/2104))
- Fixed `before_invoke` being run twice for slash subcommands.
([#2139](https://github.com/Pycord-Development/pycord/pull/2139))
Expand Down Expand Up @@ -430,7 +432,7 @@ These changes are available on the `master` branch, but have not yet been releas
([#2196](https://github.com/Pycord-Development/pycord/pull/2196))
- Fixed `AttributeError` when running permission checks without the `bot` scope.
([#2113](https://github.com/Pycord-Development/pycord/issues/2113))
- Fixed `Option` not working on bridge commands because `ext.commands.Command` doesn't
- Fixed `Option` not working on bridge commands because `ext.commands.Command` does not
recognize them. ([#2256](https://github.com/Pycord-Development/pycord/pull/2256))
- Fixed offset-aware tasks causing `TypeError` when being prepared.
([#2271](https://github.com/Pycord-Development/pycord/pull/2271))
Expand Down Expand Up @@ -530,7 +532,7 @@ These changes are available on the `master` branch, but have not yet been releas
### Fixed

- Fixed bugs in `Page.update_files` where file objects stored in memory were causing an
`AttributeError`, and `io.BytesIO` files didn't send properly more than once.
`AttributeError`, and `io.BytesIO` files did not send properly more than once.
([#1869](https://github.com/Pycord-Development/pycord/pull/1869) &
[#1881](https://github.com/Pycord-Development/pycord/pull/1881))
- Fixed bridge groups missing the `parent` attribute.
Expand Down Expand Up @@ -885,9 +887,9 @@ These changes are available on the `master` branch, but have not yet been releas
([#1453](https://github.com/Pycord-Development/pycord/pull/1453))
- Update `thread.members` on `thread.fetch_members`.
([#1464](https://github.com/Pycord-Development/pycord/pull/1464))
- Fix the error when Discord doesn't send the `app_permissions` data in `Interaction`.
- Fix the error when Discord does not send the `app_permissions` data in `Interaction`.
([#1467](https://github.com/Pycord-Development/pycord/pull/1467))
- Fix AttributeError when voice client `play()` function isn't completed yet.
- Fix AttributeError when voice client `play()` function is not completed yet.
([#1360](https://github.com/Pycord-Development/pycord/pull/1360))

## [2.0.0-rc.1] - 2022-05-17
Expand Down
10 changes: 5 additions & 5 deletions discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,19 +293,19 @@ class Guild(Hashable):

_PREMIUM_GUILD_LIMITS: ClassVar[dict[int | None, _GuildLimit]] = {
None: _GuildLimit(
emoji=50, stickers=5, soundboard=8, bitrate=96e3, filesize=26214400
emoji=50, stickers=5, soundboard=8, bitrate=96e3, filesize=10_485_760
),
0: _GuildLimit(
emoji=50, stickers=5, soundboard=8, bitrate=96e3, filesize=26214400
emoji=50, stickers=5, soundboard=8, bitrate=96e3, filesize=10_485_760
),
1: _GuildLimit(
emoji=100, stickers=15, soundboard=24, bitrate=128e3, filesize=26214400
emoji=100, stickers=15, soundboard=24, bitrate=128e3, filesize=10_485_760
),
2: _GuildLimit(
emoji=150, stickers=30, soundboard=36, bitrate=256e3, filesize=52428800
emoji=150, stickers=30, soundboard=36, bitrate=256e3, filesize=52_428_800
),
3: _GuildLimit(
emoji=250, stickers=60, soundboard=48, bitrate=384e3, filesize=104857600
emoji=250, stickers=60, soundboard=48, bitrate=384e3, filesize=104_857_600
),
}

Expand Down
Binary file modified docs/build/locales/.doctrees/api/clients.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/api/index.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/api/models.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/api/utils.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/api/voice.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/changelog.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/ext/bridge/api.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/ext/bridge/index.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/ext/commands/api.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/ext/commands/index.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/index.doctree
Binary file not shown.
Binary file modified docs/build/locales/.doctrees/old_changelog.doctree
Binary file not shown.
Loading

0 comments on commit 9fa9c53

Please sign in to comment.