diff --git a/handle_file.go b/handle_file.go index 09ffc10..b7424e0 100644 --- a/handle_file.go +++ b/handle_file.go @@ -45,7 +45,6 @@ func HandleFile(fh *FileHandle) { parsedFile.Anime = anime HandleParsedFile(w, parsedFile) - SendTelegramAnimeEpMessage(TelegramOrganizeMessagePattern, parsedFile.AnimeEpisode()) break } } @@ -87,6 +86,8 @@ func HandleParsedFile(w io.Writer, parsedFile *model.ParsedFile) { } func OrganizeAnimeEpisode(w io.Writer, parsedFile *model.ParsedFile) error { + SendTelegramAnimeEpMessage(TelegramOrganizeMessagePattern, parsedFile.AnimeEpisode()) + start := time.Now() oldFile := parsedFile.File