1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-15 02:23:13 +00:00

update file size limit for em/export

This commit is contained in:
io mintz 2020-06-23 22:56:05 +00:00
parent 3590a0162d
commit 68227a2b44

View file

@ -253,8 +253,7 @@ class Emotes(commands.Cog):
await context.send(file=zip_file)
async def archive_emotes(self, context, emotes):
filesize_limit = 1024 ** 2 # XXX testing
filesize_limit = context.guild.filesize_limit
discrims = collections.defaultdict(int)
downloaded = collections.deque()
async def download(emote):