Mahesh0253/Media-Search-bot

issue when using delete command

Closed this issue · 1 comments

I saw this code, https://github.com/Mahesh0253/Media-Search-bot/blob/master/plugins/commands.py#L76

Steps to reproduce:

  1. Add a file to an index.
  2. After 12 hours forward the file from channel, and reply the /delete command

Actual Results:
It will reply "File not found in database"

Expected Results:
it should delete the file from the database.

Fixed in new commit