move timer
This commit is contained in:
parent
cc428a0e2f
commit
c98e381ae8
2
main.rb
2
main.rb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user