mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +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`
|
||||
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.
|
||||
reason: Optional[:class:`str`]
|
||||
The reason for editing this emoji. Shows up on the audit log.
|
||||
|
Loading…
x
Reference in New Issue
Block a user