mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 18:13:00 +00:00
@@ -554,6 +554,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
|
|||||||
def _ensure_assignment_on_copy(self, other: Self) -> Self:
|
def _ensure_assignment_on_copy(self, other: Self) -> Self:
|
||||||
other._before_invoke = self._before_invoke
|
other._before_invoke = self._before_invoke
|
||||||
other._after_invoke = self._after_invoke
|
other._after_invoke = self._after_invoke
|
||||||
|
other.extras = self.extras
|
||||||
if self.checks != other.checks:
|
if self.checks != other.checks:
|
||||||
other.checks = self.checks.copy()
|
other.checks = self.checks.copy()
|
||||||
if self._buckets.valid and not other._buckets.valid:
|
if self._buckets.valid and not other._buckets.valid:
|
||||||
|
|||||||
Reference in New Issue
Block a user