From a5d30402cbc78f2613bef0a394e1ab4d0f58392f Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 29 Oct 2023 14:29:38 +0100 Subject: [PATCH] Updated the ready.cpp --- src/listeners/ready.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listeners/ready.cpp b/src/listeners/ready.cpp index 964bd96..e4829b7 100644 --- a/src/listeners/ready.cpp +++ b/src/listeners/ready.cpp @@ -22,5 +22,5 @@ void ready::execute(dpp::cluster &bot, const dpp::ready_t &event) { << std::endl; std::thread status_thread = get_status_thread(bot); - status_thread.join(); + status_thread.detach(); }