diff --git a/rdbot.py b/rdbot.py index 2fd054a..accac4e 100644 --- a/rdbot.py +++ b/rdbot.py @@ -28,7 +28,7 @@ class MyBot(commands.Bot): @tasks.loop(43200) async def loop_12h(self): thread_update = threading.Thread(target=update) - thread_update.setDaemon(True) + thread_update.daemon = True thread_update.start() async def on_ready(self, ws):