Add versionchanged to guild.create_role

This commit is contained in:
Zomatree 2021-01-27 04:35:52 +00:00 committed by GitHub
parent 61884dd9ac
commit 0d1e15bbc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1733,6 +1733,9 @@ class Guild(Hashable):
You must have the :attr:`~Permissions.manage_roles` permission to
do this.
..versionchanged:: 1.6
Can now pass ``int`` to ``colour`` keyword-only parameter.
Parameters
-----------
name: :class:`str`