Browse Source

Remove undocumented, bug-causing ease-of-use subcommand attributes

pull/10109/head
dolfies 3 years ago
parent
commit
66e2ab0efa
  1. 3
      discord/commands.py

3
discord/commands.py

@ -325,9 +325,6 @@ class SlashMixin(ApplicationCommand, Protocol):
else:
options.append(Option(option))
for child in children:
setattr(self, child.name, child)
self.options = options
self.children = children

Loading…
Cancel
Save