Browse Source

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

pull/7492/head
jack1142 3 years ago
committed by GitHub
parent
commit
a90e1824f4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/emoji.py

2
discord/emoji.py

@ -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…
Cancel
Save