code: def get_commands(self, peer_jid):
          
  
          disco = self.dependencies[aioxmpp.disco.DiscoClient]
          response = yield from disco.query_items(
              peer_jid,
              node=namespaces.xep0050_commands,
          )
          return response.items
docs: Return the list of commands offered by the peer.
  
          :param peer_jid: JID of the peer to query
          :type peer_jid: :class:`~aioxmpp.JID`
          :rtype: :class:`list` of :class:`~.disco.xso.Item`
          :return: List of command items
  
          In the returned list, each :class:`~.disco.xso.Item` represents one
          command supported by the peer. The :attr:`~.disco.xso.Item.node`
          attribute is the identifier of the command which can be used with
          :meth:`get_command_info` and :meth:`execute`.