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']}`