more logging
This commit is contained in:
parent
27da8c2ef1
commit
6adbde9871
3
main.rb
3
main.rb
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user