Implement role tags.

This comes with:

* The RoleTags class
* Role.is_premium_subscriber()
* Role.is_bot_managed()
* Role.is_integration()
* Guild.self_role
* Guild.premium_subscriber_role
This commit is contained in:
Rapptz
2020-11-26 01:55:25 -05:00
parent 4adbe03d7c
commit e65dab3b23
3 changed files with 108 additions and 4 deletions

View File

@ -2733,6 +2733,12 @@ Role
.. autoclass:: Role()
:members:
RoleTags
~~~~~~~~~~
.. autoclass:: RoleTags()
:members:
TextChannel
~~~~~~~~~~~~