move timer

This commit is contained in:
stryan 2022-05-01 17:00:36 -04:00
parent cc428a0e2f
commit c98e381ae8

View File

@ -101,8 +101,8 @@ end
puts("logging into discord") puts("logging into discord")
bot.run(true) bot.run(true)
puts("starting main loop") puts("starting main loop")
timer = 15
loop do loop do
timer = 15
sleep timer sleep timer
if mpc.running? if mpc.running?
current = mpc.nowplaying current = mpc.nowplaying