mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
parent
d707019348
commit
eb3bc7102b
@ -554,6 +554,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
|
||||
def _ensure_assignment_on_copy(self, other: Self) -> Self:
|
||||
other._before_invoke = self._before_invoke
|
||||
other._after_invoke = self._after_invoke
|
||||
other.extras = self.extras
|
||||
if self.checks != other.checks:
|
||||
other.checks = self.checks.copy()
|
||||
if self._buckets.valid and not other._buckets.valid:
|
||||
|
Loading…
x
Reference in New Issue
Block a user