Skip to content
This repository was archived by the owner on Aug 28, 2019. It is now read-only.

Commit 8c85e85

Browse files
committed
DOcument on_thread_join also applying to thread creation
1 parent 23a6914 commit 8c85e85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/api.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,8 @@ to handle it, which defaults to print a traceback and ignoring the exception.
669669

670670
.. function:: on_thread_join(thread)
671671

672-
Called whenever a thread is joined.
672+
Called whenever a thread is joined or created. Note that from the API's perspective there is no way to
673+
differentiate between a thread being created or the bot joining a thread.
673674

674675
Note that you can get the guild from :attr:`Thread.guild`.
675676

0 commit comments

Comments
 (0)