Skip to content
Snippets Groups Projects
Commit 7c4837a8 authored by Øystein Kristoffer Tveit's avatar Øystein Kristoffer Tveit :beginner:
Browse files

Send message on new content

parent 6254bb15
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ module WebsiteCheckLoop =
log "Scraping website"
match previousListOfResults, listOfResults with
| (previousListOfResults, listOfResults) when previousListOfResults = listOfResults ->
| (previousListOfResults, listOfResults) when previousListOfResults <> listOfResults ->
channels
|> Seq.iter (fun id -> sendToChannelWith client (formatMessage <|| Seq.head listOfResults) id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment