Skip to content

Commit 1e3685f

Browse files
committed
Merge branch 'stable' into unstable
2 parents d8855fe + a101b8e commit 1e3685f

File tree

3 files changed

+45
-7
lines changed

3 files changed

+45
-7
lines changed

docs/src/changelog.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,47 @@
33
Here you can find the changelog for the library. This is a list of all the changes that have been made to the library, since V5.0.0.
44
In breaking changes, the breaking change is signified by a `💥`
55

6-
## 5.1.0 - TBA
6+
## 5.4.0 - May 17th, 2023
7+
- Feat: Add regex support for modal callback
8+
- Feat: Sort roles
9+
- Feat: Allow .purge to return messages
10+
- Feat: Support http proxies
11+
- Feat: Send not ready messages if requested
12+
- Feat: Support recovery from additional WebSocket close codes
13+
- Fix: Properly pass guild_id to http's get_guild
14+
- Fix: Pin our minimum version of attrs to >=22.1
15+
- Fix: Correctly handle message references
16+
17+
## 5.3.1 - May 6th, 2023
18+
- Fix: Use wrap partial on commands
19+
20+
## 5.3.0 - May 6th, 2023
21+
- Feat: Add BaseEvent.client alias property
22+
- Feat: Add `component` property to `ComponentContext`
23+
- Feat: Add support for mentioning onboarding
24+
- Feat: Implement new automod features
25+
- Feat: Add missing perms
26+
- Feat: Support audit log
27+
- Feat: Support clyde channel flag
28+
- Feat: Add support for voice messages
29+
- Feat: Pass event object based on listeners signature
30+
- Feat: `SlashCommandChoice` as parameter for `AutoCompleteContext.send`
31+
- Fix: Add missing MessageFlag
32+
- Fix: Account for discord's discrim change
33+
- Fix: Copy prefixed cmd set when unloading ext
34+
- Fix: Pass a Member as author of MessageReactionRemove
35+
- Fix: Pass default_member_permissions in SlashCommand.group()
36+
37+
## 5.2.0 - April 30th, 2023
38+
- Feat: Added `ratelimit` parameter to create thread methods
39+
- Feat: Format ratelimit messages with major params
40+
- Feat: Added user & member props to auto mod action
41+
- Feat: Added poll option to jurriged ext
42+
- Fix: Resolve failing linter checks
43+
- Fix: Migration oversights in debug ext
44+
- Fix: Handle a user not passing a cooldown system to the cooldown decorator
45+
46+
## 5.1.0 - April 21st, 2023
747
- Feat: Add support for regex component callbacks
848
- Feat: Add new audit log events to enums
949
- Refactor: Change log level of missing enum value from error to warning
@@ -12,9 +52,9 @@ In breaking changes, the breaking change is signified by a `💥`
1252
- Chore: Switch library license to MIT
1353
- Build: Add pypi alias `interactions.py`
1454
- Feat: Enhance cooldown system
15-
- Adds new cooldown strategies and allows fetching of the cooldown object using an ID instead of context object
55+
- Adds new cooldown strategies and allows fetching of the cooldown object using an ID instead of context object
1656

1757
## 5.0.1 - April 12th, 2023
1858
- Fix: copy checks when inheriting
19-
- When inheriting checks, slash commands would pass in their own checks to the subcommand. This makes sense logically, however, what wasn't being caught was that these were being passed by reference, and so any edit to the checks in one subcommand would affect potentially EVERY command.
59+
- When inheriting checks, slash commands would pass in their own checks to the subcommand. This makes sense logically, however, what wasn't being caught was that these were being passed by reference, and so any edit to the checks in one subcommand would affect potentially EVERY command.
2060
- Build: Ensure opus `dll`s are included in pypi releases

interactions/client/smart_cache.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,7 @@ def get_member(self, guild_id: Optional["Snowflake_Type"], user_id: Optional["Sn
202202
"""
203203
return self.member_cache.get((to_optional_snowflake(guild_id), to_optional_snowflake(user_id)))
204204

205-
def place_member_data(
206-
self, guild_id: "Snowflake_Type", data: discord_typings.resources.guild.GuildMemberData
207-
) -> Member:
205+
def place_member_data(self, guild_id: "Snowflake_Type", data: discord_typings.GuildMemberData) -> Member:
208206
"""
209207
Take json data representing a User, process it, and cache it.
210208

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "interactions.py"
3-
version = "5.5.0"
3+
version = "5.5.1"
44
description = "Easy, simple, scalable and modular: a Python API wrapper for interactions."
55
authors = [
66
"LordOfPolls <dev@lordofpolls.com>",

0 commit comments

Comments
 (0)