From 5b4640e0073f8cd3f2c3ebe96d109d1622223264 Mon Sep 17 00:00:00 2001 From: Aaron Johnson Date: Sun, 21 Apr 2019 23:02:38 -0500 Subject: [PATCH] Some light update cleanup --- commands.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/commands.rb b/commands.rb index 5f2885e..946161d 100644 --- a/commands.rb +++ b/commands.rb @@ -72,7 +72,6 @@ def process_command_srvstatus(message, command, adm) if is_chat_authorized?(message, @auth_chat) || message_from_admin?(message, adm) telnet = @conf['telnet'] if `nc -zvw3 #{telnet['host']} #{telnet['port']}` - #bot.api.send_message(chat_id: message.chat.id, text: "Server is online!\nGathering server information...") `./scripts/srvstatus.receipt #{@conf['token']} #{message.chat.id}` end reply = `./scripts/srvstatus #{telnet['host']} #{telnet['port']} #{telnet['pass']}`