auto expire 0x0 referrals after 12 hours
All checks were successful
Build and Publish / build_and_publish (push) Successful in 2m10s
All checks were successful
Build and Publish / build_and_publish (push) Successful in 2m10s
This commit is contained in:
parent
2ee127bce2
commit
428f511abe
2 changed files with 2 additions and 2 deletions
|
@ -287,7 +287,7 @@ class FFMeta(commands.Cog):
|
|||
"-y",
|
||||
"-f",
|
||||
"mp4",
|
||||
f"-r",
|
||||
"-r",
|
||||
"5",
|
||||
"pipe:1",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
|
|
|
@ -221,6 +221,7 @@ class YTDLCog(commands.Cog):
|
|||
response = await client.post(
|
||||
"https://0x0.st",
|
||||
files={"file": (name, data, mime_type)},
|
||||
data={"expires": 12},
|
||||
headers={"User-Agent": "CollegeBot (matrix: @nex:nexy7574.co.uk)"},
|
||||
)
|
||||
if response.status_code == 200:
|
||||
|
@ -228,7 +229,6 @@ class YTDLCog(commands.Cog):
|
|||
response.raise_for_status()
|
||||
|
||||
@commands.slash_command(name="yt-dl")
|
||||
# @commands.bot_has_permissions(send_messages=True, embed_links=True, attach_files=True)
|
||||
async def yt_dl_command(
|
||||
self,
|
||||
ctx: discord.ApplicationContext,
|
||||
|
|
Loading…
Reference in a new issue