From a90e1824f4f890e10ef08370b93339e2dd92e37d Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue, 1 Mar 2022 13:41:33 +0100 Subject: [PATCH] Fix type of roles param in Emoji.edit's docstring --- discord/emoji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/emoji.py b/discord/emoji.py index 5f46b53ec..35ceef532 100644 --- a/discord/emoji.py +++ b/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.