mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-04 22:42:21 +00:00
Add Client.emojis to get all emojis.
This removes the older get_all_emojis generator.
This commit is contained in:
@@ -160,6 +160,10 @@ class ConnectionState:
|
||||
def _remove_guild(self, guild):
|
||||
self._guilds.pop(guild.id, None)
|
||||
|
||||
@property
|
||||
def emojis(self):
|
||||
return list(self._emojis)
|
||||
|
||||
@property
|
||||
def private_channels(self):
|
||||
return list(self._private_channels.values())
|
||||
|
||||
Reference in New Issue
Block a user