This commit is contained in:
niten 2024-03-23 11:33:12 -07:00
parent 9269eb1a7e
commit 40dcb126a9
1 changed files with 9 additions and 8 deletions

View File

@ -204,6 +204,7 @@
(.addShutdownHook (Runtime/getRuntime)
(Thread. (fn []
(println "Stopping pricebot...")
(log/notify! logger (str "Shutting down pricebot for " (name currency) "."))
(stop! bot)
(>!! shutdown true))))
(log/notify! logger (str "Hi! I'm going to start watching the price of " (name currency) " for you."))