mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-22 19:06:44 +00:00
Revert Group.on_error copy due to failing tests
This commit is contained in:
parent
6e5392c6e2
commit
cd04f6ca41
@ -1656,9 +1656,6 @@ class Group:
|
|||||||
copy._children = {}
|
copy._children = {}
|
||||||
copy.extras = self.extras
|
copy.extras = self.extras
|
||||||
|
|
||||||
if not hasattr(self.on_error, '__discord_app_commands_base_function__'):
|
|
||||||
copy.on_error = self.on_error
|
|
||||||
|
|
||||||
bindings[self] = copy
|
bindings[self] = copy
|
||||||
|
|
||||||
for child in self._children.values():
|
for child in self._children.values():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user