mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Fix ffmpeg issue
This commit is contained in:
parent
ea99c3e509
commit
b832f94a1b
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue