Bot already checking for the same link in handler (app/bot/handlers/link.py:45).
Maybe it would be nice to move check in method for Link model class (app.database.models.Link)
Cover next cases:
Slashes (?) (fox ex. now fmajesty.xyz and fmajesty.xyz/ is not the same link)
Redirects (for ex. user trying to add redirect.to/fmajesty.xyz link where there is redirect to fmajesty.xyz/ and we have record in DB with link fmajesty.xyz, so we need to restrict adding that link)
Если добавить в бота ссылку и нажать на "Прочитано", то потом её можно снова добавить. Можно ли как-то сделать, чтобы бот перед повторно добавленными ссылками выводил предупреждение "Вы уже читали эту ссылку. Точно хотите её снова добавить?"
If you add a link to the bot and click on "Read", then you can add it again. Is there any way to make the bot display a warning "You've already read this link. Are you sure you want to add it again?"