MCPcopy
hub / github.com/Rapptz/discord.py / join

Method join

discord/threads.py:742–757  ·  view source on GitHub ↗

|coro| Joins this thread. You must have :attr:`~Permissions.send_messages_in_threads` to join a thread. If the thread is private, :attr:`~Permissions.manage_threads` is also needed. Raises ------- Forbidden You do not have permissions to

(self)

Source from the content-addressed store, hash-verified

740 await self._state.http.edit_channel(self.id, applied_tags=list(applied_tags.keys()), reason=reason)
741
742 async def join(self) -> None:
743 """|coro|
744
745 Joins this thread.
746
747 You must have :attr:`~Permissions.send_messages_in_threads` to join a thread.
748 If the thread is private, :attr:`~Permissions.manage_threads` is also needed.
749
750 Raises
751 -------
752 Forbidden
753 You do not have permissions to join the thread.
754 HTTPException
755 Joining the thread failed.
756 """
757 await self._state.http.join_thread(self.id)
758
759 async def leave(self) -> None:
760 """|coro|

Callers 15

__repr__Method · 0.45
__repr__Method · 0.45
__repr__Method · 0.45
_flatten_error_dictFunction · 0.45
__init__Method · 0.45
show_versionFunction · 0.45
to_pathFunction · 0.45
__repr__Method · 0.45
_load_defaultFunction · 0.45
__init__Method · 0.45
set_bandwidthMethod · 0.45
set_signal_typeMethod · 0.45

Calls 1

join_threadMethod · 0.80

Tested by 1