Skip to content

Commit a9cfa4a

Browse files
Paillat-devCopilotSoheabpre-commit-ci[bot]plun1331
authored
chore: 🔃 Merge upstream (#178)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Soheab <33902984+Soheab@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: plun1331 <plun1331@gmail.com> Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com> Co-authored-by: DA344 <108473820+DA-344@users.noreply.github.com> Co-authored-by: Paillat <jeremiecotti@ik.me> Co-authored-by: Lala Sabathil <lala@pycord.dev> Co-authored-by: Paillat <paillat@pycord.dev> Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com> Co-authored-by: Lala Sabathil <aiko@aitsys.dev> Co-authored-by: Lumouille <144063653+Lumabots@users.noreply.github.com> Co-authored-by: Vioshim <krangelj@unicartagena.edu.co> Co-authored-by: NyuwBot <nyuw@aitsys.dev>
1 parent 41ac385 commit a9cfa4a

File tree

24 files changed

+635
-109
lines changed

24 files changed

+635
-109
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Bug Report
22
description: Report broken or incorrect behaviour
33
labels: ["unconfirmed bug"]
4+
type: Bug
45
body:
56
- type: markdown
67
attributes:
@@ -59,6 +60,7 @@ body:
5960
This command required v1.1.0 or higher of the library. If this errors out then
6061
show some basic information involving your system such as operating system and
6162
Python version.
63+
render: bash
6264
validations:
6365
required: true
6466
- type: checkboxes

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Feature Request
22
description: Suggest a feature for this library
33
labels: ["feature request"]
4+
type: Feature
45
body:
56
- type: input
67
attributes:

CHANGELOG.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ These changes are available on the `master` branch, but have not yet been releas
1212

1313
### Added
1414

15+
### Changed
16+
17+
### Fixed
18+
19+
### Deprecated
20+
21+
### Removed
22+
23+
## [2.7.0rc2] - 2025-10-22
24+
25+
### Added
26+
1527
- Implemented `with_response` for interaction callbacks, adding
1628
`Interaction.callback.is_loading()` and `Interaction.callback.is_ephemeral()`.
1729
([#2711](https://github.com/Pycord-Development/pycord/pull/2711))
@@ -28,6 +40,18 @@ These changes are available on the `master` branch, but have not yet been releas
2840
- Adds pre-typed and pre-constructed with select_type `ui.Select` aliases for the
2941
different select types: `ui.StringSelect`, `ui.UserSelect`, `ui.RoleSelect`,
3042
`ui.MentionableSelect`, and `ui.ChannelSelect`.
43+
- Added the ability to use functions with any number of optional arguments and functions
44+
returning an awaitable as `Option.autocomplete`.
45+
([#2914](https://github.com/Pycord-Development/pycord/pull/2914))
46+
- Added `ui.FileUpload` for modals and the `FileUpload` component.
47+
([#2938](https://github.com/Pycord-Development/pycord/pull/2938))
48+
- Added `Permissions.bypass_slowmode`.
49+
([#2939](https://github.com/Pycord-Development/pycord/pull/2939))
50+
- Added support for Guild Incidents via `Guild.incidents_data` and
51+
`Guild.modify_incident_actions()`.
52+
([#2955](https://github.com/Pycord-Development/pycord/pull/2955))
53+
- Added `mention` property to `BaseEmoji`.
54+
([#2972](https://github.com/Pycord-Development/pycord/pull/2972))
3155

3256
### Changed
3357

@@ -45,6 +69,22 @@ These changes are available on the `master` branch, but have not yet been releas
4569
([#2924](https://github.com/Pycord-Development/pycord/pull/2924))
4670
- Fixed OPUS Decode Error when recording audio.
4771
([#2925](https://github.com/Pycord-Development/pycord/pull/2925))
72+
- Fixed a `TypeError` when typing `ui.Select` without providing optional type arguments.
73+
([#2943](https://github.com/Pycord-Development/pycord/pull/2943))
74+
- Fixed modal input values being misordered when using the `row` parameter and inserting
75+
items out of row order.
76+
([#2938](https://github.com/Pycord-Development/pycord/pull/2938))
77+
- Fixed a KeyError when a text input is left blank in a modal.
78+
([#2938](https://github.com/Pycord-Development/pycord/pull/2938))
79+
- Fixed `TypeError` when using Python 3.12+ `type` syntax for typing slash command
80+
parameters. ([#2952](https://github.com/Pycord-Development/pycord/pull/2952))
81+
- Fixed autocomplete crashing when using an async staticmethod.
82+
([#2966](https://github.com/Pycord-Development/pycord/pull/2966))
83+
- Fixed attributes like :attr:`Member.display_banner` being `None` when the member has
84+
no guild specific banner, but does have a global one.
85+
([#2968](https://github.com/Pycord-Development/pycord/pull/2949))
86+
- Fixed `__repr__` formatting for `AppEmoji`.
87+
([#2972](https://github.com/Pycord-Development/pycord/pull/2972))
4888

4989
### Removed
5090

@@ -54,6 +94,8 @@ These changes are available on the `master` branch, but have not yet been releas
5494

5595
### Added
5696

97+
- Added `positional` argument to `commands.Flag`.
98+
([#2443](https://github.com/Pycord-Development/pycord/pull/2443))
5799
- Added `Guild.fetch_role` method.
58100
([#2528](https://github.com/Pycord-Development/pycord/pull/2528))
59101
- Added the following `AppInfo` attributes: `approximate_guild_count`,
@@ -106,6 +148,9 @@ These changes are available on the `master` branch, but have not yet been releas
106148
([#2714](https://github.com/Pycord-Development/pycord/pull/2714))
107149
- Added the ability to pass a `datetime.time` object to `format_dt`.
108150
([#2747](https://github.com/Pycord-Development/pycord/pull/2747))
151+
- Added the ability to pass an `overlap` parameter to the `loop` decorator and `Loop`
152+
class, allowing concurrent iterations if enabled.
153+
([#2765](https://github.com/Pycord-Development/pycord/pull/2765))
109154
- Added various missing channel parameters and allow `default_reaction_emoji` to be
110155
`None`. ([#2772](https://github.com/Pycord-Development/pycord/pull/2772))
111156
- Added support for type hinting slash command options with `typing.Annotated`.
@@ -1156,7 +1201,8 @@ These changes are available on the `master` branch, but have not yet been releas
11561201
- Fix py3.10 UnionType checks issue.
11571202
([#1240](https://github.com/Pycord-Development/pycord/pull/1240))
11581203

1159-
[unreleased]: https://github.com/Pycord-Development/pycord/compare/v2.7.0rc1...HEAD
1204+
[unreleased]: https://github.com/Pycord-Development/pycord/compare/v2.7.0rc2...HEAD
1205+
[2.7.0rc2]: https://github.com/Pycord-Development/pycord/compare/v2.7.0rc1...v2.7.0rc2
11601206
[2.7.0rc1]: https://github.com/Pycord-Development/pycord/compare/v2.6.0...v2.7.0rc1
11611207
[2.6.1]: https://github.com/Pycord-Development/pycord/compare/v2.6.0...v2.6.1
11621208
[2.6.0]: https://github.com/Pycord-Development/pycord/compare/v2.5.0...v2.6.0

discord/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
from .flags import *
4848
from .guild import *
4949
from .http import *
50+
from .incidents import *
5051
from .integrations import *
5152
from .interactions import *
5253
from .invite import *
@@ -60,6 +61,7 @@
6061
from .permissions import *
6162
from .player import *
6263
from .poll import *
64+
from .primary_guild import *
6365
from .raw_models import *
6466
from .reaction import *
6567
from .role import *

0 commit comments

Comments
 (0)