more logging

This commit is contained in:
stryan 2022-02-07 12:33:52 -05:00
parent 27da8c2ef1
commit 6adbde9871

View File

@ -92,8 +92,9 @@ end
logger.info("Starting bot") logger.info("Logging into discord")
bot.run(true) bot.run(true)
logger.info("Starting bot main loop")
loop do loop do
timer = Astro::Moon.phase.phase * (3600 * (1 + rand(3))) timer = Astro::Moon.phase.phase * (3600 * (1 + rand(3)))
logger.info("sleeping for #{timer} seconds") logger.info("sleeping for #{timer} seconds")