Fix ffmpeg issue

This commit is contained in:
nexy7574 2023-09-09 22:00:32 +01:00
parent ea99c3e509
commit b832f94a1b

View file

@ -979,7 +979,7 @@ class OtherCog(commands.Cog):
)
else:
parsed_qs = parse_qs(url)
if 't' in parsed_qs and parsed_qs['t'].isdigit():
if 't' in parsed_qs and parsed_qs['t'] and parsed_qs['t'][0].isdigit():
# Assume is timestamp
timestamp = round(float(parsed_qs['t'][0]))
embed = discord.Embed(