Browse Source

[tasks] Fix missing name parameter in loop copy

pull/9469/head
Rapptz 2 years ago
parent
commit
646ab85bb6
  1. 1
      discord/ext/tasks/__init__.py

1
discord/ext/tasks/__init__.py

@ -284,6 +284,7 @@ class Loop(Generic[LF]):
time=self._time,
count=self.count,
reconnect=self.reconnect,
name=self._name,
)
copy._injected = obj
copy._before_loop = self._before_loop

Loading…
Cancel
Save