From 828e47d83f26cf4a81e8de2ab1b9c1dcb18d84f3 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 4 Jul 2021 04:50:07 -0400 Subject: [PATCH] Document on_thread_join also applying to thread creation --- docs/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 17a270a21..5961ee06f 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -669,7 +669,8 @@ to handle it, which defaults to print a traceback and ignoring the exception. .. function:: on_thread_join(thread) - Called whenever a thread is joined. + Called whenever a thread is joined or created. Note that from the API's perspective there is no way to + differentiate between a thread being created or the bot joining a thread. Note that you can get the guild from :attr:`Thread.guild`.