Notify the channel on startup
This commit is contained in:
parent
9267239983
commit
ce32b7defa
@ -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))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user