diff options
| author | Rapptz <[email protected]> | 2017-01-09 19:36:48 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-09 19:36:48 -0500 |
| commit | f0fb91c35d79e8cf70bd32c061e49ed34d268f19 (patch) | |
| tree | 687e885a51e30a3b4c2b42e348b9ece7a23e02ad /discord/server.py | |
| parent | Backport rate limit header implementation from rewrite. (diff) | |
| download | discord.py-f0fb91c35d79e8cf70bd32c061e49ed34d268f19.tar.xz discord.py-f0fb91c35d79e8cf70bd32c061e49ed34d268f19.zip | |
Use CDN URL for assets.
Diffstat (limited to 'discord/server.py')
| -rw-r--r-- | discord/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/server.py b/discord/server.py index 18e9647e..df6bc7dc 100644 --- a/discord/server.py +++ b/discord/server.py @@ -266,7 +266,7 @@ class Server(Hashable): """Returns the URL version of the server's icon. Returns an empty string if it has no icon.""" if self.icon is None: return '' - return 'https://discordapp.com/api/guilds/{0.id}/icons/{0.icon}.jpg'.format(self) + return 'https://cdn.discordapp.com/icons/{0.id}/{0.icon}.jpg'.format(self) @property def splash_url(self): |