mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Document on_thread_join also applying to thread creation
This commit is contained in:
parent
23a69144b6
commit
828e47d83f
@ -669,7 +669,8 @@ to handle it, which defaults to print a traceback and ignoring the exception.
|
|||||||
|
|
||||||
.. function:: on_thread_join(thread)
|
.. 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`.
|
Note that you can get the guild from :attr:`Thread.guild`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user