increase max paste size 510MB
This commit is contained in:
parent
73d0f204dc
commit
200d108bdf
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class AutoResponder(commands.Cog):
|
||||||
_p,
|
_p,
|
||||||
_p.stat().st_size / 1024 / 1024
|
_p.stat().st_size / 1024 / 1024
|
||||||
)
|
)
|
||||||
if _p.stat().st_size <= 490 * 1024 * 1024:
|
if _p.stat().st_size <= 510 * 1024 * 1024:
|
||||||
file.fp.seek(0)
|
file.fp.seek(0)
|
||||||
self.log.info("Trying to upload file to pastebin.")
|
self.log.info("Trying to upload file to pastebin.")
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient() as client:
|
||||||
|
|
Loading…
Reference in a new issue