Browse Source

Revert Group.on_error copy due to failing tests

pull/8958/head
Rapptz 3 years ago
parent
commit
cd04f6ca41
  1. 3
      discord/app_commands/commands.py

3
discord/app_commands/commands.py

@ -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…
Cancel
Save