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:
parent
3590a0162d
commit
68227a2b44
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue