Document on_thread_join also applying to thread creation

This commit is contained in:
Rapptz 2021-07-04 04:50:07 -04:00
parent 23a69144b6
commit 828e47d83f

View File

@ -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`.