Add positional-only arguments in more places

This commit is contained in:
jack1142 authored and GitHub committed 2022-02-19 20:28:01 -05:00
1 parent 19b10eecfe
commit dc19c6c7d5
14 files changed
+202 -23

No files matched your search

+3
View File
@@ -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`]