mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
Add positional-only arguments in more places
This commit is contained in:
@@ -546,6 +546,9 @@ class GuildChannel:
|
||||
.. versionchanged:: 2.0
|
||||
The object passed in can now be a role object.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
``obj`` parameter is now positional-only.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
obj: Union[:class:`~discord.Member`, :class:`~discord.Role`]
|
||||
|
||||
Reference in New Issue
Block a user