Notify the channel on startup

This commit is contained in:
niten 2022-06-20 16:12:32 -07:00
parent 9267239983
commit ce32b7defa
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@
(println "Stopping pricebot...") (println "Stopping pricebot...")
(stop! bot) (stop! bot)
(>!! shutdown true)))) (>!! shutdown true))))
(log/notify! logger (str "Hi! I'm going to start watching the price of " (name currency)))
(start! bot) (start! bot)
(<!! shutdown) (<!! shutdown)
(System/exit 0)))) (System/exit 0))))