@property<EOL><INDENT>def roles(self):<DEDENT>
guild = self.guild<EOL>if guild is None:<EOL><INDENT>return []<EOL><DEDENT>return [role for role in guild.roles if self._roles.has(role.id)]<EOL>
List[:class:`Role`]: A :class:`list` of roles that is allowed to use this emoji.

        If roles is empty, the emoji is unrestricted.