diff options
| author | Matt (IPv4) <[email protected]> | 2018-10-05 16:42:13 +0100 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-10-11 02:38:52 -0400 |
| commit | 3727ea981119bf719db45d5bfe401cb2c5cd75a3 (patch) | |
| tree | c1a5332aa65e66f77adb540c34e96dd05ae17dca /discord/utils.py | |
| parent | Remove outdated note about bot accounts. (diff) | |
| download | discord.py-3727ea981119bf719db45d5bfe401cb2c5cd75a3.tar.xz discord.py-3727ea981119bf719db45d5bfe401cb2c5cd75a3.zip | |
Add Guild.splash_url_as
Diffstat (limited to 'discord/utils.py')
| -rw-r--r-- | discord/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/utils.py b/discord/utils.py index f536200f..705d5daa 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -290,8 +290,8 @@ async def sane_wait_for(futures, *, timeout, loop): raise asyncio.TimeoutError() def valid_icon_size(size): - """Icons must be power of 2 within [16, 1024].""" - return ((size != 0) and not (size & (size - 1))) and size in range(16, 1025) + """Icons must be power of 2 within [16, 2048].""" + return ((size != 0) and not (size & (size - 1))) and size in range(16, 2049) class SnowflakeList(array.array): """Internal data storage class to efficiently store a list of snowflakes. |