Fix type of roles param in Emoji.edit's docstring

This commit is contained in:
jack1142 2022-03-01 13:41:33 +01:00 committed by GitHub
parent 50ef8e8893
commit a90e1824f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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