Skip to content

Commit f24a1ad

Browse files
committed
Merge remote-tracking branch 'origin/stable' into unstable
2 parents 88f2f63 + 3655951 commit f24a1ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interactions/models/internal/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __new__(cls, bot: "Client", *args, **kwargs) -> "Extension":
101101
for _name, val in callables:
102102
if isinstance(val, models.BaseCommand):
103103
val.extension = instance
104-
val = val.copy_with_binding(instance)
104+
val = wrap_partial(val, instance)
105105
bot.add_command(val)
106106
instance._commands.append(val)
107107

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.3.0"
3+
version = "5.3.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)