mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Add note about different client subclasses
This commit is contained in:
parent
1335937288
commit
7ad00750c6
@ -200,7 +200,11 @@ class Interaction:
|
||||
|
||||
@property
|
||||
def client(self) -> Client:
|
||||
""":class:`Client`: The client that is handling this interaction."""
|
||||
""":class:`Client`: The client that is handling this interaction.
|
||||
|
||||
Note that :class:`AutoShardedClient`, :class:`~.commands.Bot`, and
|
||||
:class:`~.commands.AutoShardedBot` are all subclasses of client.
|
||||
"""
|
||||
return self._client
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user