Skip to content

Commit

Permalink
no mandar mensaje si es un link vacio
Browse files Browse the repository at this point in the history
  • Loading branch information
catdevnull committed Oct 11, 2024
1 parent 8346132 commit 5c5f94c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ class Bot {
// no soportamos ese servicio
cobaltResult.error.code === "error.api.link.invalid" ||
// no soportamos este tipo de link
cobaltResult.error.code === "error.api.link.unsupported"
cobaltResult.error.code === "error.api.link.unsupported" ||
// no hay nada en este link
cobaltResult.error.code === "error.api.fetch.empty"
) {
continue;
}
Expand Down

0 comments on commit 5c5f94c

Please sign in to comment.