diff options
Diffstat (limited to 'discord/client.py')
| -rw-r--r-- | discord/client.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py index e1b2a798..6979df06 100644 --- a/discord/client.py +++ b/discord/client.py @@ -532,6 +532,10 @@ class Client: """Returns a :class:`User` with the given ID. If not found, returns None.""" return self.connection.get_user(id) + def get_emoji(self, id): + """Returns a :class:`Emoji` with the given ID. If not found, returns None.""" + return self.connection.get_emoji(id) + def get_all_channels(self): """A generator that retrieves every :class:`Channel` the client can 'access'. |