update file size limit for em/export
This commit is contained in:
parent
3590a0162d
commit
68227a2b44
|
@ -253,8 +253,7 @@ class Emotes(commands.Cog):
|
||||||
await context.send(file=zip_file)
|
await context.send(file=zip_file)
|
||||||
|
|
||||||
async def archive_emotes(self, context, emotes):
|
async def archive_emotes(self, context, emotes):
|
||||||
filesize_limit = 1024 ** 2 # XXX testing
|
filesize_limit = context.guild.filesize_limit
|
||||||
|
|
||||||
discrims = collections.defaultdict(int)
|
discrims = collections.defaultdict(int)
|
||||||
downloaded = collections.deque()
|
downloaded = collections.deque()
|
||||||
async def download(emote):
|
async def download(emote):
|
||||||
|
|
Loading…
Reference in New Issue