File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
NotifierBot/Sources/Notifier/Commands Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ struct DiffCommand: Command {
3232 return
3333 }
3434 let realName = entry. name
35- // Send the diff file and the contents of the ncc file
36- let nccInfo = try ? String ( contentsOfFile: " \( mainDirectory) /urlwatcher/images/ \( realName) / \( kNccFile ) " )
37- print ( " Sending diff file and NCC information: \n \( nccInfo ?? " nil " ) " )
38- JFUtils . sendImage ( path: " \( mainDirectory) /urlwatcher/images/ \( realName) . \( chatID) / \( kDiffFile) " , chatID: chatID, text: nccInfo )
35+ // Send the diff file and the contents of the score file
36+ let scoreInfo = try ? String ( contentsOfFile: " \( mainDirectory) /urlwatcher/images/ \( realName) / \( kScoreFile ) " )
37+ print ( " Sending diff file and score information: \n \( scoreInfo ?? " nil " ) " )
38+ JFUtils . sendImage ( path: " \( mainDirectory) /urlwatcher/images/ \( realName) . \( chatID) / \( kDiffFile) " , chatID: chatID, text: scoreInfo )
3939 }
4040}
You can’t perform that action at this time.
0 commit comments