refer to the gist for 0x0 admins
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m23s

This commit is contained in:
Nexus 2024-06-19 17:54:02 +01:00
parent 428f511abe
commit ae968be9de

View file

@ -222,7 +222,7 @@ class YTDLCog(commands.Cog):
"https://0x0.st",
files={"file": (name, data, mime_type)},
data={"expires": 12},
headers={"User-Agent": "CollegeBot (matrix: @nex:nexy7574.co.uk)"},
headers={"User-Agent": "CollegeBot (see: https://gist.i-am.nexus/nex/f63fcb9eb389401caf66d1dfc3c7570c)"},
)
if response.status_code == 200:
return urlparse(response.text).path[1:]