Browse Source

Add versionchanged to guild.create_role

pull/6369/head
Zomatree 4 years ago
committed by GitHub
parent
commit
0d1e15bbc2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      discord/guild.py

3
discord/guild.py

@ -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`

Loading…
Cancel
Save