Need help opening window

Okay so I have been working on a script, right now I have made a simple window and a menu command for it. I need to know how to call that window(HS_Pets_Window) from within the pets method in the HS_Pets_Command class. I have tried my best to use that window in this method, but had no luck. Here is the script so far. Also the command shows up on the menu but does nothing!

Code:
class HS_Pets_Command < Scene_Menu  #--------------------------------------------------------------------------  # * Create Command Window  #--------------------------------------------------------------------------  alias hs_wincommd_scenemenu_ccw         create_command_window  def create_command_window    HS_wincommd_scenemenu_ccw() # Call Original Method    @command_window.set_handler(:pets,      method(:pets))  end    def Pets()      end    end#==============================================================================# ** Window_MenuCommand#------------------------------------------------------------------------------#  This command window appears on the menu screen.#==============================================================================class Window_MenuCommand < Window_Command  #--------------------------------------------------------------------------  # * For Adding Original Commands  #--------------------------------------------------------------------------  alias hs_wincmmd_windowmenucommand_addorigcommd     add_original_commands  def add_original_commands    add_command("Pets", :pets)    hs_wincmmd_windowmenucommand_addorigcommd  endend#------------------------------------------------------------------------------# Pets Window#------------------------------------------------------------------------------class HS_Pets_Window < Window_Base  def initialize()    super(0, 0, 640, 480)        self.windowskin = Cache.system("Window")      end        def change_text(text)      return unless text.is_a?(String)      contents.clear      draw_text(text, 0, 0, 200, 200)    end#--------------------------------------------------------------------------# * Draw Text#--------------------------------------------------------------------------  def draw_text(text, x, y, text_width, text_height, alignment = 0)        contents.draw_text(x, y, text_width, text_height, text, alignment)  endend

Original thread: https://forums.rpgmakerweb.com/threads/need-help-opening-window.42697/