From 8ea71c7944094dd78d602f783620883771645202 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 1 May 2022 18:30:17 -0400 Subject: [PATCH] better status --- main.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.rb b/main.rb index a9c5e55..5eb4988 100644 --- a/main.rb +++ b/main.rb @@ -104,6 +104,8 @@ puts("logging into discord") bot.run(true) puts("starting main loop") timer = 30 +bot.online +bot.listening = "" loop do sleep timer if !mpc.playing? @@ -116,7 +118,7 @@ loop do puts("tried to update listening status but have empty now playing") end else - bot.listening("") + bot.listening = "" bot.idle end end