litecord.embed.messages: insert embeds to new_embeds

This commit is contained in:
Luna 2019-02-22 20:09:50 -03:00
parent 428502d373
commit 573da4fe6b
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ async def process_url_embed(config, storage, dispatcher,
if not embed:
continue
new_embeds.append(embed)
# update if we got embeds
if not new_embeds:
return