mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Fix type of roles param in Emoji.edit's docstring
This commit is contained in:
parent
50ef8e8893
commit
a90e1824f4
@ -229,7 +229,7 @@ class Emoji(_EmojiTag, AssetMixin):
|
|||||||
-----------
|
-----------
|
||||||
name: :class:`str`
|
name: :class:`str`
|
||||||
The new emoji name.
|
The new emoji name.
|
||||||
roles: Optional[List[:class:`~discord.abc.Snowflake`]]
|
roles: List[:class:`~discord.abc.Snowflake`]
|
||||||
A list of roles that can use this emoji. An empty list can be passed to make it available to everyone.
|
A list of roles that can use this emoji. An empty list can be passed to make it available to everyone.
|
||||||
reason: Optional[:class:`str`]
|
reason: Optional[:class:`str`]
|
||||||
The reason for editing this emoji. Shows up on the audit log.
|
The reason for editing this emoji. Shows up on the audit log.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user