From 646ab85bb62244666f092adb8683d2890f953664 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 26 Jun 2023 05:39:36 -0400 Subject: [PATCH] [tasks] Fix missing name parameter in loop copy --- discord/ext/tasks/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py index 0a0f38413..1ffb0b851 100644 --- a/discord/ext/tasks/__init__.py +++ b/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